Skip to content

Commit

Permalink
fix #706 移动端菜单栏异常
Browse files Browse the repository at this point in the history
  • Loading branch information
inkss committed Jan 23, 2022
1 parent 506b856 commit e1f63b3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion source/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,11 @@ const VolantisApp = (() => {
let array = e.currentTarget.children
for (let index = 0; index < array.length; index++) {
const element = array[index];
volantis.dom.$(element).show()
if (volantis.dom.$(element).title === 'menu') { // 移动端菜单栏异常
volantis.dom.$(element).display = "flex" // https://github.com/volantis-x/hexo-theme-volantis/issues/706
} else {
volantis.dom.$(element).show()
}
}
}, 0);
}
Expand Down

0 comments on commit e1f63b3

Please sign in to comment.