summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-06-03 09:57:18 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-06-03 09:57:18 +0200
commit74e2a4b1548fd586977de47db84f61c4116e0323 (patch)
treed4441dc24d9210b682f95a1b0e61f03eadbffd86
parent74c647bb6ae11f702908bcc308287a0f0fca497e (diff)
downloadnextcloud-server-74e2a4b1548fd586977de47db84f61c4116e0323.tar.gz
nextcloud-server-74e2a4b1548fd586977de47db84f61c4116e0323.zip
Use active instead of hover for active sidebar option
Fix #8720
-rw-r--r--apps/files/js/navigation.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/navigation.js b/apps/files/js/navigation.js
index c58a284e83f..b959e016e8c 100644
--- a/apps/files/js/navigation.js
+++ b/apps/files/js/navigation.js
@@ -82,13 +82,13 @@
}
return;
}
- this.$el.find('li').removeClass('selected');
+ this.$el.find('li').removeClass('active');
if (this.$currentContent) {
this.$currentContent.addClass('hidden');
this.$currentContent.trigger(jQuery.Event('hide'));
}
this._activeItem = itemId;
- this.$el.find('li[data-id=' + itemId + ']').addClass('selected');
+ this.$el.find('li[data-id=' + itemId + ']').addClass('active');
this.$currentContent = $('#app-content-' + itemId);
this.$currentContent.removeClass('hidden');
if (!options || !options.silent) {