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

Commit 7938826

Browse files
committed
added use of jquery instead of depending on jquery loaded before angular.
1 parent 7c10dc4 commit 7938826

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/calendar.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,9 @@ angular.module('ui.calendar', [])
220220
scope.calendar.fullCalendar('destroy');
221221
}
222222
if(attrs.calendar) {
223-
scope.calendar = scope.$parent[attrs.calendar] = elm.html('');
223+
scope.calendar = scope.$parent[attrs.calendar] = $(elm).html('');
224224
} else {
225-
scope.calendar = elm.html('');
225+
scope.calendar = $(elm).html('');
226226
}
227227
};
228228

0 commit comments

Comments
 (0)