Commit bc1e85d Johnnie Gomez Alzaga
committed
1 parent 299b2b5 commit bc1e85d Copy full SHA for bc1e85d
File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -139,19 +139,19 @@ $(document).ready(function () {
139
139
} ;
140
140
} ) ;
141
141
142
- // Global nav - Experiment. Changes subnav height and width in a very flowy way
142
+ // Global nav - Changes subnav height and width in a very flowy way
143
143
$ ( document ) . ready ( function ( ) {
144
- $ ( '[class$=" g-nav_menu-dropdown_toggle"] ' ) . on ( 'click' , function ( ) {
144
+ $ ( '.brand-boilerplate-components-- g-nav_menu-dropdown_toggle' ) . on ( 'click' , function ( ) {
145
145
146
- const containerElement = $ ( this ) . next ( ) . find ( '[class$=" g-nav_menu_container"] ' ) ;
146
+ const containerElement = $ ( this ) . next ( ) . find ( '.brand-boilerplate-components-- g-nav_menu_container' ) ;
147
147
148
148
setTimeout ( function ( ) {
149
149
150
150
const containerWidth = containerElement . outerWidth ( ) ;
151
- $ ( '[class$=" g-nav_menu-container-bg"] ' ) . width ( containerWidth ) ;
151
+ $ ( '.brand-boilerplate-components-- g-nav_menu-container-bg' ) . width ( containerWidth ) ;
152
152
153
153
const containerHeight = containerElement . outerHeight ( ) ;
154
- $ ( '[class$=" g-nav_menu-container-bg"] ' ) . height ( containerHeight ) ;
154
+ $ ( '.brand-boilerplate-components-- g-nav_menu-container-bg' ) . height ( containerHeight ) ;
155
155
156
156
} , 50 ) ;
157
157
} ) ;
You can’t perform that action at this time.
0 commit comments