Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 3598e6d

Browse files
committed
fix(md-month): fix overwriting offset for initial months.
1 parent 314a05d commit 3598e6d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/datepicker/calendarMonth.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@
5858
this.calendarCtrl = null;
5959

6060
/**
61-
* Number of months from the start of the month "items"
62-
* that the currently rendered month occurs.
61+
* Number of months from the start of the month "items" that the currently rendered month
62+
* occurs. Set via angular data binding.
6363
* @type {number}
6464
*/
65-
this.offset = 0;
65+
this.offset;
6666

6767
/**
6868
* Date cell to focus after appending the month to the document.

0 commit comments

Comments
 (0)