diff options
Diffstat (limited to 'ui')
-rw-r--r-- | ui/effects.core.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/effects.core.js b/ui/effects.core.js index cefc47667..2fd660b45 100644 --- a/ui/effects.core.js +++ b/ui/effects.core.js @@ -182,7 +182,7 @@ $.fn.extend({ return speed ? $.effects.animateClass.apply(this, [{ remove: classNames },speed,easing,callback]) : this._removeClass(classNames); }, toggleClass: function(classNames,speed,easing,callback) { - return speed ? $.effects.animateClass.apply(this, [{ toggle: classNames },speed,easing,callback]) : this._toggleClass(classNames); + 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) { return $.effects.animateClass.apply(this, [{ add: add, remove: remove },speed,easing,callback]); @@ -337,7 +337,7 @@ var colors = { * * Open source under the BSD License. * - * Copyright © 2008 George McGinley Smith + * Copyright ?2008 George McGinley Smith * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, @@ -506,7 +506,7 @@ $.extend($.easing, * * Open source under the BSD License. * - * Copyright © 2001 Robert Penner + * Copyright ?2001 Robert Penner * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, |