summaryrefslogtreecommitdiffstats
path: root/assets/js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js')
-rw-r--r--assets/js/gradings.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/assets/js/gradings.js b/assets/js/gradings.js
index a852337..f884bf2 100644
--- a/assets/js/gradings.js
+++ b/assets/js/gradings.js
@@ -176,15 +176,15 @@ document.addEventListener("DOMContentLoaded", () => {
calendar_obj.render();
// Modal for adding gradings
- setupPickers(); // todo (adding an event), to be stored in messages
- // Setup modals
- const modal_elems = document.querySelectorAll('.modal');
- const modal_options = {
- onOpenStart: () => { $("#fab-new").hide() },
- onCloseEnd: () => { $("#fab-new").show() },
- dismissible: false
- };
- M.Modal.init(modal_elems, modal_options);
+ // setupPickers(); // todo (adding an event), to be stored in messages
+ // // Setup modals
+ // const modal_elems = document.querySelectorAll('.modal');
+ // const modal_options = {
+ // onOpenStart: () => { $("#fab-new").hide() },
+ // onCloseEnd: () => { $("#fab-new").show() },
+ // dismissible: false
+ // };
+ // M.Modal.init(modal_elems, modal_options);
loadGradings(true);
// Setup refresh handler