Fix typeof options (firefox broken)

v1.4.x
Tanguy Pruvot 2010-09-19 20:01:30 +08:00 committed by Adam Shaw
parent e2dbcaf15d
commit fe7c257124
1 changed files with 1 additions and 1 deletions

View File

@ -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;