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

Commit e306086

Browse files
committed
Edit initCalendar to work properly with jQuery
fix(jQuery): Allow calendar to work with full jQuery fea asdfjkasdlfjas
1 parent 4fecedc commit e306086

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/calendar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ angular.module('ui.calendar', [])
281281

282282
scope.initCalendar = function () {
283283
if (!calendar) {
284-
calendar = angular.element(elm).html('');
284+
calendar = $(elm).html('');
285285
}
286286
calendar.fullCalendar(options);
287287
if (attrs.calendar) {

0 commit comments

Comments
 (0)