aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.js
diff options
context:
space:
mode:
authorYehuda Katz <wycats@gmail.com>2009-07-12 14:31:32 +0000
committerYehuda Katz <wycats@gmail.com>2009-07-12 14:31:32 +0000
commit89b4bc53ca0ca3d4e5c80b94ce92b09cc34af8ef (patch)
tree44844e8316629f520a1dd93603c058f4bfa93588 /src/data.js
parent5b84c7c45c8c3c5e7c9a17239cd658b0c87ab892 (diff)
downloadjquery-89b4bc53ca0ca3d4e5c80b94ce92b09cc34af8ef.tar.gz
jquery-89b4bc53ca0ca3d4e5c80b94ce92b09cc34af8ef.zip
Added a next() shortcut for queues
Diffstat (limited to 'src/data.js')
-rw-r--r--src/data.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data.js b/src/data.js
index ac069ceea..e429c0de5 100644
--- a/src/data.js
+++ b/src/data.js
@@ -92,7 +92,7 @@ jQuery.extend({
fn = queue[0];
if( fn !== undefined )
- fn.call(elem);
+ fn.call(elem, function() { jQuery(elem).dequeue(type); });
}
});