mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Effects core: Removed jQuery.fn.morph (same as jQuery.fn.switchClass). Fixed #4602 (Remove jQuery.fn.morph).
This commit is contained in:
parent
2f161c13de
commit
25398447f1
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user