diff options
author | Felix Nagel <info@felixnagel.com> | 2013-01-30 18:10:39 +0100 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2013-01-30 18:10:39 +0100 |
commit | 91dde04dadcd9b314e099ced040a763aa35b7b5c (patch) | |
tree | 3572e1b71f5c8998c46e411b9d992795a1105530 /ui/jquery.ui.effect.js | |
parent | de149c47d79bf5822baad786591eb837fe2af769 (diff) | |
parent | ceebe07e2c99190030c16b031813ae660d9283d1 (diff) | |
download | jquery-ui-91dde04dadcd9b314e099ced040a763aa35b7b5c.tar.gz jquery-ui-91dde04dadcd9b314e099ced040a763aa35b7b5c.zip |
Merge branch 'master' into selectmenu
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, |