We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5ee13a commit 01eefedCopy full SHA for 01eefed
src/components/global/header/header.js
@@ -6,7 +6,7 @@ const speed = 350;
6
let toggle, brands, menus, others;
7
8
const initCollapse = () => {
9
- if (!toggle && !brands && !menus && !others) {
+ if (!toggle || !brands || !menus || !others) {
10
const header = document.getElementById('header');
11
toggle = header.querySelector('.header_gnav_btn a');
12
brands = header.querySelector('.header_gnav_brand');
0 commit comments