aboutsummaryrefslogtreecommitdiffstats
path: root/src/fx/fx.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/fx/fx.js')
-rw-r--r--src/fx/fx.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fx/fx.js b/src/fx/fx.js
index 64706685b..1dfd31e5f 100644
--- a/src/fx/fx.js
+++ b/src/fx/fx.js
@@ -173,8 +173,8 @@ jQuery.fn.extend({
*/
slideToggle: function(speed,callback){
return this.each(function(){
- var state = $(this).is(":hidden") ? "show" : "hide";
- $(this).animate({height: state}, speed, callback);
+ var state = jQuery(this).is(":hidden") ? "show" : "hide";
+ jQuery(this).animate({height: state}, speed, callback);
});
},