1
0
mirror of https://github.com/hacks-guide/Guide_3DS.git synced 2025-08-29 11:19:56 +02:00

ensure there is a visible active sidebar page

this will prevent issues with users navigating directly to a page without hitting any related method pages
This commit is contained in:
Plailect
2017-09-30 17:03:56 -04:00
committed by Plailect
parent 093ed8fade
commit 6d6db2707d
2 changed files with 4 additions and 2 deletions

View File

@@ -218,7 +218,9 @@ $(document).ready(function(){
} }
$(li).addClass("completed"); $(li).addClass("completed");
}); });
if (ol.children(".active").css("display") != "none"){
$('.sidebar.sticky').css("display", "inherit"); $('.sidebar.sticky').css("display", "inherit");
} }
} }
}
}); });

File diff suppressed because one or more lines are too long