]> source.dussan.org Git - nextcloud-server.git/commitdiff
add missing var
authorRobin Appelman <icewind@owncloud.com>
Tue, 5 Jul 2016 21:18:06 +0000 (23:18 +0200)
committerLukas Reschke <lukas@statuscode.ch>
Fri, 8 Jul 2016 10:35:43 +0000 (12:35 +0200)
apps/files_external/js/rollingqueue.js

index 58cb0fb22f081f5d7a6d16a659bb5d3f34c87825..53e11cb121950eb92d52f7a4fa37a8f6196ccd02 100644 (file)
@@ -70,7 +70,7 @@ var RollingQueue = function (functionList, queueWindow, callback) {
                        throw "functionList must be an array";
                }
 
-               for (i = 0; i < this.queueWindow; i++) {
+               for (var i = 0; i < this.queueWindow; i++) {
                        this.launchNext();
                }
        };
@@ -134,4 +134,4 @@ if (!OCA.External.StatusManager) {
 
 OCA.External.StatusManager.RollingQueue = RollingQueue;
 
-})();
\ No newline at end of file
+})();