Added a next() shortcut for queues
This commit is contained in:
parent
5b84c7c45c
commit
89b4bc53ca
2 changed files with 22 additions and 1 deletions
|
@ -92,7 +92,7 @@ jQuery.extend({
|
|||
fn = queue[0];
|
||||
|
||||
if( fn !== undefined )
|
||||
fn.call(elem);
|
||||
fn.call(elem, function() { jQuery(elem).dequeue(type); });
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue