mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-09-11 12:10:23 +08:00
Fix typeof options (firefox broken)
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ $.fn.fullCalendar = function(options) {
|
||||
var res;
|
||||
this.each(function() {
|
||||
var calendar = $.data(this, 'fullCalendar');
|
||||
if (calendar && typeof $.isFunction(calendar[options])) {
|
||||
if (calendar && $.isFunction(calendar[options])) {
|
||||
var r = calendar[options].apply(calendar, args);
|
||||
if (res === undefined) {
|
||||
res = r;
|
||||
|
||||
Reference in New Issue
Block a user