This commit is contained in:
Jerry committed 2022-09-03 15:57:20 +08:00
commit 65b1ad32c8
1 file changed
+1 -1
+1 -1
View File
@@ -14,7 +14,7 @@ document.addEventListener('DOMContentLoaded', function () {
}
let hideMenuIndex = ''
if (window.innerWidth < 768) hideMenuIndex = true
if (window.innerWidth <= 768) hideMenuIndex = true
else hideMenuIndex = blogNameWidth + menusWidth + searchWidth > $nav.offsetWidth - 120
if (hideMenuIndex) {