summaryrefslogtreecommitdiffstats
path: root/apps/federation
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2018-10-19 11:37:11 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-10-19 20:17:55 +0200
commitc5d3febf37f739b9ffbab636914f2ab368f68bbb (patch)
treeafaef37a4fc6fc46888cd7131ac5ebe8436efcfd /apps/federation
parent543c8634340607c5dd088b9cbdcd85700222ee0b (diff)
downloadnextcloud-server-c5d3febf37f739b9ffbab636914f2ab368f68bbb.tar.gz
nextcloud-server-c5d3febf37f739b9ffbab636914f2ab368f68bbb.zip
Add missing variable declarations
This fixes errors from LGTM like the following one: Variable i is used like a local variable, but is missing a declaration. Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'apps/federation')
-rw-r--r--apps/federation/js/settings-admin.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/federation/js/settings-admin.js b/apps/federation/js/settings-admin.js
index 9e3ed763168..da3f3c2d1a0 100644
--- a/apps/federation/js/settings-admin.js
+++ b/apps/federation/js/settings-admin.js
@@ -77,7 +77,7 @@
console.log("typing away");
- url = $(this).val();
+ var url = $(this).val();
// toggle add-button visiblity based on input length
if ( url.length > 0 )