Fix typeof options (firefox broken)
This commit is contained in:
parent
e2dbcaf15d
commit
fe7c257124
|
@ -13,7 +13,7 @@ $.fn.fullCalendar = function(options) {
|
||||||
var res;
|
var res;
|
||||||
this.each(function() {
|
this.each(function() {
|
||||||
var calendar = $.data(this, 'fullCalendar');
|
var calendar = $.data(this, 'fullCalendar');
|
||||||
if (calendar && typeof $.isFunction(calendar[options])) {
|
if (calendar && $.isFunction(calendar[options])) {
|
||||||
var r = calendar[options].apply(calendar, args);
|
var r = calendar[options].apply(calendar, args);
|
||||||
if (res === undefined) {
|
if (res === undefined) {
|
||||||
res = r;
|
res = r;
|
||||||
|
|
Loading…
Reference in a new issue