1
0
mirror of https://github.com/aquatix/digimarks.git synced 2025-12-06 20:55:10 +01:00

Fix for mobile navigation toggle

This commit is contained in:
2016-07-19 11:13:46 +02:00
parent 104b2d8a63
commit d1b5c720c2
2 changed files with 8 additions and 0 deletions

7
static/js/init.js Normal file
View File

@@ -0,0 +1,7 @@
(function($){
$(function(){
$('.button-collapse').sideNav();
}); // end of document ready
})(jQuery); // end of jQuery name space

View File

@@ -55,6 +55,7 @@
<!-- Scripts -->
<script src="https://code.jquery.com/jquery-2.2.3.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.6/js/materialize.min.js"></script>
<script src="{{ url_for('static', filename='js/init.js') }}"></script>
</body>
</html>