diff --git a/src/calendar.js b/src/calendar.js index 8663967..01d2a5c 100644 --- a/src/calendar.js +++ b/src/calendar.js @@ -164,7 +164,8 @@ angular.module('ui.calendar', []) angular.forEach(config, function(value,key){ if (typeof value === 'function'){ - config[key] = wrapFunctionWithScopeApply(config[key]); + if(key !== "eventRender") + config[key] = wrapFunctionWithScopeApply(config[key]); } }); @@ -286,4 +287,4 @@ angular.module('ui.calendar', []) }); } }; -}]); \ No newline at end of file +}]);