diff options
author | jeresig <jeresig@gmail.com> | 2009-12-21 18:02:02 -0500 |
---|---|---|
committer | jeresig <jeresig@gmail.com> | 2009-12-21 18:02:02 -0500 |
commit | e083d15fc786a853e54b800e3798536f1d958301 (patch) | |
tree | fa85f8374fdb8aacd9856fe0a89bac49103678c2 /src/queue.js | |
parent | 209751fcbd8a42eef68df44c875763b6af8a5474 (diff) | |
download | jquery-e083d15fc786a853e54b800e3798536f1d958301.tar.gz jquery-e083d15fc786a853e54b800e3798536f1d958301.zip |
Tweaked a couple cases where == was used instead of ===.
Diffstat (limited to 'src/queue.js')
-rw-r--r-- | src/queue.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/queue.js b/src/queue.js index e636ffb41..3770f4d90 100644 --- a/src/queue.js +++ b/src/queue.js @@ -27,7 +27,7 @@ jQuery.extend({ if ( fn ) { // Add a progress sentinel to prevent the fx queue from being // automatically dequeued - if ( type == "fx" ) { queue.unshift("inprogress"); } + if ( type === "fx" ) { queue.unshift("inprogress"); } fn.call(elem, function() { jQuery.dequeue(elem, type); }); } @@ -47,7 +47,7 @@ jQuery.fn.extend({ return this.each(function(i, elem){ var queue = jQuery.queue( this, type, data ); - if ( type == "fx" && queue[0] !== "inprogress" ) { + if ( type === "fx" && queue[0] !== "inprogress" ) { jQuery.dequeue( this, type ); } }); |