Skip to content
Permalink
Browse files

effects: fix #3857

  • Loading branch information
chicheng committed Jan 16, 2009
1 parent 57c1900 commit 0c87cf400bdcfc3c1ab1c6128525c25664d3f623
Showing with 3 additions and 3 deletions.
  1. +3 −3 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,

0 comments on commit 0c87cf4

Please sign in to comment.
You can’t perform that action at this time.