Line 6: | Line 6: | ||
<!-- Fix for Safari mobile --> | <!-- Fix for Safari mobile --> | ||
− | + | <script> | |
+ | "use strict"; | ||
+ | $(document).ready(function(){ | ||
+ | |||
+ | new OffCanvasMenuController({ | ||
+ | $menu: $('#sidebar'), | ||
+ | $menuToggle: $('#sidebarHide'), | ||
+ | menuExpandedClass: 'canvas-slid', | ||
+ | position: 'left' | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
</html> | </html> | ||
{{Heidelberg/off-canvas-menu.js}} | {{Heidelberg/off-canvas-menu.js}} |
Revision as of 15:40, 1 November 2017