From 91f735acf3051898b7bfc4735a97f9d76c44c477 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Mon, 21 Nov 2016 23:21:53 +0100 Subject: [PATCH] Make Christoph happier Apparently this failed for him as per https://github.com/nextcloud/server/pull/2224#issuecomment-262085537 Signed-off-by: Lukas Reschke --- settings/js/federationscopemenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }