Remove unnecessary var in queue.js
This commit is contained in:
parent
d729ef951c
commit
5293495a5f
6
src/effects.js
vendored
6
src/effects.js
vendored
|
@ -178,8 +178,7 @@ jQuery.fn.extend({
|
|||
opt.overflow = [ this.style.overflow, this.style.overflowX, this.style.overflowY ];
|
||||
|
||||
// Set display property to inline-block for height/width
|
||||
// animations on inline elements that are having width/height
|
||||
// animated
|
||||
// animations on inline elements that are having width/height animated
|
||||
if ( jQuery.css( this, "display" ) === "inline" &&
|
||||
jQuery.css( this, "float" ) === "none" ) {
|
||||
|
||||
|
@ -254,7 +253,8 @@ jQuery.fn.extend({
|
|||
|
||||
this.each(function() {
|
||||
var timers = jQuery.timers,
|
||||
i = timers.length;
|
||||
i = timers.length,
|
||||
timer;
|
||||
|
||||
// clear marker counters if we know they won't be
|
||||
if ( !gotoEnd ) {
|
||||
|
|
|
@ -70,8 +70,7 @@ jQuery.extend({
|
|||
type = type || "fx";
|
||||
|
||||
var queue = jQuery.queue( elem, type ),
|
||||
fn = queue.shift(),
|
||||
defer;
|
||||
fn = queue.shift();
|
||||
|
||||
// If the fx queue is dequeued, always remove the progress sentinel
|
||||
if ( fn === "inprogress" ) {
|
||||
|
|
Loading…
Reference in a new issue