mirror of
https://github.com/aquatix/digimarks.git
synced 2025-12-06 23:05:10 +01:00
jQuery -> new MaterializeCSS way
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
(function($){
|
||||
$(function(){
|
||||
var options = {}
|
||||
var elem = document.querySelector('.sidenav');
|
||||
var instance = new M.Sidenav(elem, options);
|
||||
|
||||
$('.sidenav').sidenav();
|
||||
|
||||
/* Initialise collapsible tags block */
|
||||
$(document).ready(function() {
|
||||
$('.collapsible').collapsible();
|
||||
var elem = document.querySelector('.collapsible');
|
||||
var instance = new M.Collapsible(elem, {
|
||||
// inDuration: 1000,
|
||||
// outDuration: 1000
|
||||
});
|
||||
|
||||
}); // end of document ready
|
||||
})(jQuery); // end of jQuery name space
|
||||
|
||||
@@ -39,7 +39,6 @@
|
||||
}
|
||||
</style>
|
||||
<link href="{{ url_for('static', filename='css/digimarks.css') }}?20170728" type="text/css" rel="stylesheet" media="screen,projection"/>
|
||||
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
|
||||
</head>
|
||||
<body class="{{ theme.BODY }} {{ theme.TEXT }}">
|
||||
<nav class="{{ theme.NAV }}" role="navigation">
|
||||
|
||||
Reference in New Issue
Block a user