Skip to content

Commit 57b7f55

Browse files
committed
Make sure links in popout nav take the normal link behaviour
1 parent 061bbdf commit 57b7f55

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

content/assets/js/scripts.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ App.subscribe("init", function(){
9393
// Learning Site Specific
9494
//
9595
$("#sidebar .paper").bind("click", function(e){
96+
// Allow the actual links inside to take the normal link behaviour
97+
if ($(e.target).is("li a")) {
98+
return;
99+
}
96100
e.preventDefault();
97101
var el = $(this);
98102
if(el.hasClass("open")){

0 commit comments

Comments
 (0)