Permalink
Browse files

Merge pull request #5 from bcooksey/master

Fixes bug with abort functionality
  • Loading branch information...
2 parents d437b21 + e826edb commit 3acbedc14a774698ada5efbca9707d8f0a3ff18a @gnarf committed Mar 18, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/jQuery.ajaxQueue.js
View
@@ -10,8 +10,8 @@ $.ajaxQueue = function( ajaxOpts ) {
// run the actual query
function doRequest( next ) {
- jqXHR = $.ajax( ajaxOpts )
- .done( dfd.resolve )
+ jqXHR = $.ajax( ajaxOpts );
+ jqXHR.done( dfd.resolve )
.fail( dfd.reject )
.then( next, next );
}

0 comments on commit 3acbedc

Please sign in to comment.