Update public/index.js

master
kirbylife 2019-11-03 17:49:33 +00:00
parent ad5a3288ba
commit 3decba7e5e
1 changed files with 5 additions and 0 deletions

5
public/index.js 100644
View File

@ -0,0 +1,5 @@
document.addEventListener('DOMContentLoaded', function () {
var elems = document.querySelectorAll('.sidenav');
M.AutoInit(elems);
});
M.AutoInit();