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:
@@ -218,7 +218,9 @@ $(document).ready(function(){
|
|||||||
}
|
}
|
||||||
$(li).addClass("completed");
|
$(li).addClass("completed");
|
||||||
});
|
});
|
||||||
$('.sidebar.sticky').css("display", "inherit");
|
if (ol.children(".active").css("display") != "none"){
|
||||||
|
$('.sidebar.sticky').css("display", "inherit");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
2
assets/js/main.min.js
vendored
2
assets/js/main.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user