mirror of
https://github.com/aquatix/digimarks.git
synced 2025-12-06 22:05:09 +01:00
Fix for mobile navigation toggle
This commit is contained in:
7
static/js/init.js
Normal file
7
static/js/init.js
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
(function($){
|
||||||
|
$(function(){
|
||||||
|
|
||||||
|
$('.button-collapse').sideNav();
|
||||||
|
|
||||||
|
}); // end of document ready
|
||||||
|
})(jQuery); // end of jQuery name space
|
||||||
@@ -55,6 +55,7 @@
|
|||||||
<!-- Scripts -->
|
<!-- Scripts -->
|
||||||
<script src="https://code.jquery.com/jquery-2.2.3.min.js"></script>
|
<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="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>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user