Added feedback color variable for nav item/search result hover

(cherry picked from commit f25d76730b175fb680aa2770fb20a67fd858ffbb)
This commit is contained in:
Silvio Giebl
2019-08-10 21:24:36 +02:00
parent 8a3458bafd
commit bf86c33fe1
6 changed files with 7 additions and 4 deletions

View File

@@ -27,6 +27,7 @@ function initNav() {
jtd.addEvent(document, 'click', function(e){
var expander = e.path.find(function(x){ return x.classList && x.classList.contains('nav-list-expander') });
if (expander) {
e.preventDefault();
expander.parentElement.classList.toggle('active');
}
});