diff options
author | David Petersen <public@petersendidit.com> | 2013-01-26 11:59:08 -0600 |
---|---|---|
committer | David Petersen <public@petersendidit.com> | 2013-01-29 07:47:54 -0600 |
commit | 2ca4d17982bfedc723f499b41e0936ada9eaa852 (patch) | |
tree | 97f40e694c062a367ce5e358c911a50367777700 /ui/jquery.ui.effect.js | |
parent | 3aa8ad0c4ad15ceac52c4f653b7d4e66995bb297 (diff) | |
download | jquery-ui-2ca4d17982bfedc723f499b41e0936ada9eaa852.tar.gz jquery-ui-2ca4d17982bfedc723f499b41e0936ada9eaa852.zip |
Effects Core: make removeClass work correctly with changes jQuery 1.9.0. Fixed #9015 - Inclusion of jQuery UI breaks removeClass
Diffstat (limited to 'ui/jquery.ui.effect.js')
-rw-r--r-- | ui/jquery.ui.effect.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.effect.js b/ui/jquery.ui.effect.js index c6623a0a1..97f006ee0 100644 --- a/ui/jquery.ui.effect.js +++ b/ui/jquery.ui.effect.js @@ -849,10 +849,10 @@ $.fn.extend({ _removeClass: $.fn.removeClass, removeClass: function( classNames, speed, easing, callback ) { - return speed ? + return arguments.length > 1 ? $.effects.animateClass.call( this, { remove: classNames }, speed, easing, callback ) : - this._removeClass( classNames ); + this._removeClass.apply( this, arguments ); }, _toggleClass: $.fn.toggleClass, |