Skip to content

Commit c454aea

Browse files
committed
fix
1 parent ba02d30 commit c454aea

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/core/fetch/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,11 @@ export function fetchMixin(proto) {
134134

135135
// Load nav
136136
if (loadNavbar) {
137+
// default show the nav
138+
document.querySelector('.app-nav').style.display = 'inline';
137139
if (path === '/' && !loadNavbarOnCover) {
140+
// hidden nav on cover
141+
document.querySelector('.app-nav').style.display = 'none';
138142
return;
139143
}
140144

0 commit comments

Comments
 (0)