File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 28
28
--skin-hover : # ddd ;
29
29
--skin-color : # 232323 ;
30
30
}
31
-
31
+ .menu-body .visibility {
32
+ visibility : hidden;
33
+ }
32
34
.menubar {
33
35
width : 100% ;
34
36
height : 48px ;
Original file line number Diff line number Diff line change 30
30
< a href ="#1 "> < img src ="img/jside-menu.png " alt ="jSide Menu " /> </ a >
31
31
</ menuitem >
32
32
</ menu >
33
+ < div class ="menu-body visibility ">
33
34
< div class ="menu-head ">
34
35
< span class ="layer ">
35
36
< div class ="col ">
@@ -74,6 +75,7 @@ <h3 title="User Name"> Asif Mughal </h3>
74
75
< li > < a href ="#1 "> < i class ="material-icons "> format_size</ i > Main item six </ a > </ li >
75
76
</ ul >
76
77
</ nav >
78
+ </ div >
77
79
<!--End jSide Menu-->
78
80
79
81
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ $(dHeading).click(function(){
68
68
$ ( menuTrigger ) . click ( function ( ) {
69
69
$ ( jSide ) . toggleClass ( "open" ) ;
70
70
$ ( dimBackground ) . show ( setting . jSideTransition ) ;
71
+ $ ( ".menu-body" ) . removeClass ( "visibility" ) ;
71
72
} ) ;
72
73
73
74
//close menu if user click outside of it
@@ -81,6 +82,7 @@ $(menuTrigger).click(function(){
81
82
if ( ! $ ( jSide ) . hasClass ( "open" ) ) {
82
83
$ ( dimBackground ) . hide ( setting . jSideTransition ) ;
83
84
}
85
+ $ ( ".menu-body" ) . addClass ( "visibility" ) ;
84
86
} ) ;
85
87
} ) ;
86
88
} ;
You can’t perform that action at this time.
0 commit comments