summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2016-07-05 23:18:06 +0200
committerLukas Reschke <lukas@statuscode.ch>2016-07-08 12:35:43 +0200
commit31ea10b04e5a8e52dce82f477a38bda062d70c62 (patch)
treebd96630cb69ec271e3b96e7401169a399765043f /apps/files_external
parent951ff0897c4d8d5b234e74560c3ac4541b8784be (diff)
downloadnextcloud-server-31ea10b04e5a8e52dce82f477a38bda062d70c62.tar.gz
nextcloud-server-31ea10b04e5a8e52dce82f477a38bda062d70c62.zip
add missing var
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/js/rollingqueue.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/js/rollingqueue.js b/apps/files_external/js/rollingqueue.js
index 58cb0fb22f0..53e11cb1219 100644
--- a/apps/files_external/js/rollingqueue.js
+++ b/apps/files_external/js/rollingqueue.js
@@ -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
+})();