From d1b5c720c2ae7a403226b12f9da33317007ecae8 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Tue, 19 Jul 2016 11:13:46 +0200 Subject: [PATCH] Fix for mobile navigation toggle --- static/js/init.js | 7 +++++++ templates/base.html | 1 + 2 files changed, 8 insertions(+) create mode 100644 static/js/init.js diff --git a/static/js/init.js b/static/js/init.js new file mode 100644 index 0000000..01938d5 --- /dev/null +++ b/static/js/init.js @@ -0,0 +1,7 @@ +(function($){ + $(function(){ + + $('.button-collapse').sideNav(); + + }); // end of document ready +})(jQuery); // end of jQuery name space \ No newline at end of file diff --git a/templates/base.html b/templates/base.html index fce1d8d..a49551b 100644 --- a/templates/base.html +++ b/templates/base.html @@ -55,6 +55,7 @@ +