mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-09-13 13:23:32 -06:00
Added feedback color variable for nav item/search result hover
(cherry picked from commit f25d76730b175fb680aa2770fb20a67fd858ffbb)
This commit is contained in:
@@ -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');
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user