File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ <h5 style="margin-top:.5rem">Previous Releases</h5>
151151 $ ( document ) . ready ( function ( ) {
152152 var pname = window . location . pathname ;
153153 var phead = '/ezaai' ;
154- if ( pname . split ( '/' ) . length > 3 ) {
154+ if ( pname . split ( '/' ) . length > 2 ) {
155155 phead = phead + '/' + pname . split ( '/' ) [ 2 ] ;
156156 }
157157 $ ( '.navbar-nav > li > a[href="' + phead + '"]' ) . parent ( ) . addClass ( 'active' ) ;
Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ <h6>Nicely done!</h6>
285285 $ ( document ) . ready ( function ( ) {
286286 var pname = window . location . pathname ;
287287 var phead = '/ezaai' ;
288- if ( pname . split ( '/' ) . length > 3 ) {
288+ if ( pname . split ( '/' ) . length > 2 ) {
289289 phead = phead + '/' + pname . split ( '/' ) [ 2 ] ;
290290 }
291291 $ ( '.navbar-nav > li > a[href="' + phead + '"]' ) . parent ( ) . addClass ( 'active' ) ;
You can’t perform that action at this time.
0 commit comments