Merge pull request #18 from sigonasr2/collapsibleMenu-branch
Created script to collapse menu. This is a fix for Issue #5 This looks great, the only thing I found was the logo that links to the top of the page isn't closing the drawer. We'll open a separate issue for it though. Thanks for the hard work!
This commit is contained in:
commit
8f2eb87a0f
4
additionalScripts.js
Normal file
4
additionalScripts.js
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
$(function(){
|
||||||
|
var navMain = $(".navbar-collapse");
|
||||||
|
navMain.on("click","a:not([data-toggle])",null,function(){navMain.collapse('hide');});
|
||||||
|
});
|
@ -227,5 +227,6 @@
|
|||||||
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
|
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
|
||||||
crossorigin="anonymous"
|
crossorigin="anonymous"
|
||||||
></script>
|
></script>
|
||||||
|
<script src="additionalScripts.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user