File tree Expand file tree Collapse file tree 4 files changed +17
-4
lines changed Expand file tree Collapse file tree 4 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,17 @@ body {
79
79
top : -15px ;
80
80
left : -10px ;
81
81
z-index : 503 ;
82
+ .sandwich_active {
83
+ display : none ;
84
+ }
85
+ & .active {
86
+ img {
87
+ display : none ;
88
+ }
89
+ .sandwich_active {
90
+ display : block ;
91
+ }
92
+ }
82
93
}
83
94
84
95
.prizes-blocks {
Original file line number Diff line number Diff line change @@ -40,13 +40,13 @@ $(document).ready(function() {
40
40
event . preventDefault ( ) ;
41
41
42
42
if ( jQuery ( this ) . parents ( '.js-mobilemenu-toggle' ) . length ) {
43
- if ( jQuery ( this ) . hasClass ( 'active' ) ) {
44
- jQuery ( this ) . removeClass ( 'active' ) ;
43
+ if ( jQuery ( this ) . parents ( '.js-mobilemenu-toggle' ) . hasClass ( 'active' ) ) {
44
+ jQuery ( this ) . parents ( '.js-mobilemenu-toggle' ) . removeClass ( 'active' ) ;
45
45
} else {
46
- jQuery ( this ) . addClass ( 'active' ) ;
46
+ jQuery ( this ) . parents ( '.js-mobilemenu-toggle' ) . addClass ( 'active' ) ;
47
47
}
48
48
} else {
49
- jQuery ( '.js-mobilemenu-toggle .js-menu__switch-link ' ) . removeClass ( 'active' ) ;
49
+ jQuery ( '.js-mobilemenu-toggle' ) . removeClass ( 'active' ) ;
50
50
}
51
51
jQuery ( this ) . parents ( '.navigation__wrapper' ) . find ( '.header-nav' ) . toggleClass ( 'active' ) ;
52
52
} ) ;
Original file line number Diff line number Diff line change 40
40
< div class ="col-xs-3 visible-xs ">
41
41
< a href ="javascript:void(0); " class ="js-mobilemenu-toggle ">
42
42
< img src ="./images/sandwich.png " alt ="" class ="js-menu__switch-link ">
43
+ < img src ="./images/sandwich_active.png " alt ="" class ="js-menu__switch-link sandwich_active ">
43
44
</ a >
44
45
</ div >
45
46
< div class ="col-sm-12 pull-right userpanel-login ">
Original file line number Diff line number Diff line change 40
40
< div class ="col-xs-3 visible-xs ">
41
41
< a href ="javascript:void(0); " class ="js-mobilemenu-toggle ">
42
42
< img src ="./images/sandwich.png " alt ="" class ="js-menu__switch-link ">
43
+ < img src ="./images/sandwich_active.png " alt ="" class ="js-menu__switch-link sandwich_active ">
43
44
</ a >
44
45
</ div >
45
46
< div class ="col-sm-12 pull-right userpanel-login ">
You can’t perform that action at this time.
0 commit comments