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