Tiny cleanup to remove some superfluous code that was left in from before I decided not to reset the display of inline elements after animation finishes (since this just causes it to jump back once complete).

This commit is contained in:
Colin Snover 2010-10-05 13:38:19 -05:00
parent 69e4f2535b
commit 329b750af6

7
src/effects.js vendored
View file

@ -155,7 +155,6 @@ jQuery.fn.extend({
} }
else { else {
this.style.display = "inline"; this.style.display = "inline";
jQuery.data( this, "oldzoom", this.style.zoom );
this.style.zoom = 1; this.style.zoom = 1;
} }
} }
@ -458,14 +457,14 @@ jQuery.extend( jQuery.fx, {
jQuery.fx.stop(); jQuery.fx.stop();
} }
}, },
interval: 13, interval: 13,
stop: function() { stop: function() {
clearInterval( timerId ); clearInterval( timerId );
timerId = null; timerId = null;
}, },
speeds: { speeds: {
slow: 600, slow: 600,
fast: 200, fast: 200,