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

Commit 2c9ee09

Browse files
committed
fix(calendar): on changed is refrencing it local calendar object
Signed-off-by: Josh Kurz <[email protected]>
1 parent be332b5 commit 2c9ee09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/calendar.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ angular.module('ui.calendar', [])
273273
};
274274

275275
eventSourcesWatcher.onChanged = function(source) {
276-
scope.calendar.fullCalendar('refetchEvents');
276+
calendar.fullCalendar('refetchEvents');
277277
sourcesChanged = true;
278278
};
279279

0 commit comments

Comments
 (0)