started work on pmelo
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
// What to do when the document is loaded.
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
// init materialize elements
|
||||
initModals();
|
||||
initSidenav();
|
||||
});
|
||||
document.addEventListener(
|
||||
'DOMContentLoaded'
|
||||
, function () {
|
||||
// init materialize elements
|
||||
initModals();
|
||||
initSidenav();
|
||||
initSelects();
|
||||
}
|
||||
);
|
||||
|
||||
function initSidenav() {
|
||||
var sidenavElements = document.querySelectorAll('.sidenav');
|
||||
|
||||
Reference in New Issue
Block a user