Skip to content
Snippets Groups Projects
Commit c6b96adf authored by matograine's avatar matograine
Browse files

group document.onload() functions

parent c5cf3cd7
No related branches found
No related tags found
No related merge requests found
...@@ -162,10 +162,8 @@ ...@@ -162,10 +162,8 @@
document.addEventListener('DOMContentLoaded', function() { document.addEventListener('DOMContentLoaded', function() {
var elems = document.querySelectorAll('.sidenav'); var elems = document.querySelectorAll('.sidenav');
var instances = M.Sidenav.init(elems, options); var instances = M.Sidenav.init(elems, options);
});
//---- enable theming for select form input ---- //---- enable theming for select form input ----
document.addEventListener('DOMContentLoaded', function() {
var elems = document.querySelectorAll('select'); var elems = document.querySelectorAll('select');
var instances = M.FormSelect.init(elems, options); var instances = M.FormSelect.init(elems, options);
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment