diff options
-rw-r--r-- | ui/effects.core.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ui/effects.core.js b/ui/effects.core.js index 92e3f1c27..593ee6586 100644 --- a/ui/effects.core.js +++ b/ui/effects.core.js @@ -219,12 +219,9 @@ $.fn.extend({ return ( (typeof speed !== "boolean") && speed ) ? $.effects.animateClass.apply(this, [{ toggle: classNames },speed,easing,callback]) : this._toggleClass(classNames, speed); }, - morph: function(remove,add,speed,easing,callback) { + switchClass: function(remove,add,speed,easing,callback) { return $.effects.animateClass.apply(this, [{ add: add, remove: remove },speed,easing,callback]); }, - switchClass: function() { - return this.morph.apply(this, arguments); - }, // helper functions cssUnit: function(key) { |