Skip to content

Commit 7217107

Browse files
committed
fix navbar
1 parent ad9db9c commit 7217107

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/download.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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');

docs/tutorial.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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');

0 commit comments

Comments
 (0)