Method called using apply to avoid translating multiple args into single arg. Fixes #3756
This commit is contained in:
parent
ea074af14c
commit
441fbc2d73
@ -35,7 +35,7 @@ define([
|
||||
|
||||
var args = Array.prototype.slice.call(arguments, 1);
|
||||
|
||||
var ret = instance[options](args);
|
||||
var ret = instance[options].apply(instance, args);
|
||||
|
||||
// Check if we should be returning `this`
|
||||
if ($.inArray(options, thisMethods) > -1) {
|
||||
|
Loading…
Reference in New Issue
Block a user