Diff of /static/js/init.js [000000] .. [450719]

Switch to side-by-side view

--- a
+++ b/static/js/init.js
@@ -0,0 +1,15 @@
+$(document).ready(function(){
+    $('select').formSelect();
+  });
+
+  $(document).ready(function(){
+    $('.collapsible').collapsible();
+  });
+
+    let elem = document.querySelector('.collapsible.expandable');
+    let instance = M.Collapsible.init(elem, {accordion: false });
+
+    document.addEventListener('DOMContentLoaded', function() {
+    let elems = document.querySelectorAll('select');
+    let instances = M.FormSelect.init(elems);
+  });
\ No newline at end of file