From be1e698c85e538844bc8e84bd594329dd35dfc07 Mon Sep 17 00:00:00 2001 From: hexusdev Date: Thu, 1 Oct 2015 18:15:25 +0300 Subject: [PATCH] Update jquery.ajaxQueue.js As of jQuery 1.8 deferred.then second parameter is optional --- dist/jquery.ajaxQueue.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/jquery.ajaxQueue.js b/dist/jquery.ajaxQueue.js index 8aa491c..c5fdd45 100644 --- a/dist/jquery.ajaxQueue.js +++ b/dist/jquery.ajaxQueue.js @@ -16,7 +16,7 @@ $.ajaxQueue = function( ajaxOpts ) { jqXHR = $.ajax( ajaxOpts ); jqXHR.done( dfd.resolve ) .fail( dfd.reject ) - .then( next, next ); + .then( next ); } // queue our ajax request