summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorMichael Letzgus <www@chronos.michael-letzgus.de>2017-03-19 12:23:20 +0100
committerMichael Letzgus <www@chronos.michael-letzgus.de>2017-03-19 12:36:29 +0100
commit0b6ff1706fec8da2a5d02a20b9e13c3882cedd05 (patch)
tree33adc2afe8098a4f8fcbd7184bf178d6ba0645b0 /settings
parent1983606f806d50febbc77141350061e84db18c49 (diff)
downloadnextcloud-server-0b6ff1706fec8da2a5d02a20b9e13c3882cedd05.tar.gz
nextcloud-server-0b6ff1706fec8da2a5d02a20b9e13c3882cedd05.zip
Fix duplicate id "apps-management"
Make duplicate id "apps-management" a class since IDs must be unique: https://www.w3.org/TR/2011/WD-html5-20110525/elements.html#the-id-attribute https://api.jquery.com/id-selector/ Signed-off-by: Michael Letzgus <michaelletzgus@users.noreply.github.com>
Diffstat (limited to 'settings')
-rw-r--r--settings/js/apps.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js
index 8be18c4e9c0..d2f26578a7c 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -541,10 +541,10 @@ OC.Settings.Apps = OC.Settings.Apps || {
if (navEntries.length > 7) {
$('#more-apps').show();
- $('#apps-management').hide();
+ $('.apps-management').hide();
} else {
$('#more-apps').hide();
- $('#apps-management').show();
+ $('.apps-management').show();
}
}
});