From fe7c2571243623783a09b0ef3455b5bc7c9c01b7 Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Sun, 19 Sep 2010 20:01:30 +0800 Subject: [PATCH] Fix typeof options (firefox broken) --- src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 7f2cb30..0c7d78c 100644 --- a/src/main.js +++ b/src/main.js @@ -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;