Line 4: | Line 4: | ||
</head> | </head> | ||
<body> | <body> | ||
+ | |||
+ | <!-- Fix for Safari mobile --> | ||
+ | |||
+ | <script> | ||
+ | |||
+ | $(document).ready(function(){ | ||
+ | $("#sidebarCollapse").click(function(){ | ||
+ | $("#sidebar").addClass("in"); | ||
+ | $("#sidebar").addClass("canvas-slid"); | ||
+ | }); | ||
+ | |||
+ | $("body").click(function(){ | ||
+ | $("#sidebar").removeClass("in"); | ||
+ | $("#sidebar").removeClass("canvas-slid"); | ||
+ | }); | ||
+ | }); | ||
+ | |||
+ | </script> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
<!-- Top menu --> | <!-- Top menu --> | ||
<nav class="navbar navbar-inverse navbar-fixed-top navbar-no-bg " role="navigation"> | <nav class="navbar navbar-inverse navbar-fixed-top navbar-no-bg " role="navigation"> |
Revision as of 14:22, 1 November 2017