aboutsummaryrefslogtreecommitdiffstats
path: root/src/queue.js
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2009-12-21 18:02:02 -0500
committerjeresig <jeresig@gmail.com>2009-12-21 18:02:02 -0500
commite083d15fc786a853e54b800e3798536f1d958301 (patch)
treefa85f8374fdb8aacd9856fe0a89bac49103678c2 /src/queue.js
parent209751fcbd8a42eef68df44c875763b6af8a5474 (diff)
downloadjquery-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.js4
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 );
}
});