Skip to content

Commit 0b66980

Browse files
authored
fix #81
Change $q.resolve to $q.when, close #81
1 parent 040fd4b commit 0b66980

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/angular-material-calendar.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ angular.module("materialCalendar").directive("calendarMd", ["$compile", "$parse"
381381
return $templateRequest($scope.templateUrl);
382382
}
383383

384-
return $q.resolve($scope.template() || defaultTemplate);
384+
return $q.when($scope.template() || defaultTemplate);
385385
};
386386

387387

0 commit comments

Comments
 (0)