summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 872f59c5de8..a9f41831b94 100644
--- a/settings/js/federationscopemenu.js
+++ b/settings/js/federationscopemenu.js
@@ -111,7 +111,7 @@
*/
show: function(context) {
this._context = context;
- var currentlyActiveValue = $('#'+context.target.closest('form').id).find('.icon-checkmark > input')[0].value;
+ var currentlyActiveValue = $('#'+context.target.closest('form').id).find('input[type="hidden"]')[0].value;
for(var i in this._scopes) {
this._scopes[i].active = false;