summaryrefslogtreecommitdiffstats
path: root/settings/js/federationscopemenu.js
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-11-21 23:21:53 +0100
committerLukas Reschke <lukas@statuscode.ch>2016-11-21 23:21:53 +0100
commit91f735acf3051898b7bfc4735a97f9d76c44c477 (patch)
tree057bf13ad51dcdadb96f5d229de63faea700d38e /settings/js/federationscopemenu.js
parent267ecab4057da99fb1799dfec51eed668dd35020 (diff)
downloadnextcloud-server-91f735acf3051898b7bfc4735a97f9d76c44c477.tar.gz
nextcloud-server-91f735acf3051898b7bfc4735a97f9d76c44c477.zip
Make Christoph happier
Apparently this failed for him as per https://github.com/nextcloud/server/pull/2224#issuecomment-262085537 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'settings/js/federationscopemenu.js')
-rw-r--r--settings/js/federationscopemenu.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/federationscopemenu.js b/settings/js/federationscopemenu.js
index 066f648c104..0862556a2c3 100644
--- a/settings/js/federationscopemenu.js
+++ b/settings/js/federationscopemenu.js
@@ -113,7 +113,7 @@
this._context = context;
var currentlyActiveValue = $('#'+context.target.closest('form').id).find('.icon-checkmark > input')[0].value;
- for(var i = 0 in this._scopes) {
+ for(var i in this._scopes) {
this._scopes[i].active = false;
}