Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/darshanbaral/khata.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/menu/menu_alltaxa.html')
-rw-r--r--layouts/partials/menu/menu_alltaxa.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/layouts/partials/menu/menu_alltaxa.html b/layouts/partials/menu/menu_alltaxa.html
index f815784..0d83ea9 100644
--- a/layouts/partials/menu/menu_alltaxa.html
+++ b/layouts/partials/menu/menu_alltaxa.html
@@ -3,8 +3,10 @@
</div>
<script>
let resetMenus = function() {
- resetMainMenu();
- document.querySelector(".all-menu").classList.add("d-none");
+ if (vw.matches) {
+ resetMainMenu();
+ document.querySelector(".all-menu").classList.add("d-none");
+ }
if (document.querySelector(".dropdown-content")) {
resetSectionMenu();
zeroHeight(document.querySelector(".dropdown-content"));