diff options
author | rstular <rok@stular.eu> | 2020-06-02 16:07:57 +0200 |
---|---|---|
committer | rstular <rok@stular.eu> | 2020-06-02 16:07:57 +0200 |
commit | d766f5af2b59ede34479dcce54b368c3bf816d2b (patch) | |
tree | 4c993a985eaa072eda88e33a7647ad3600a12dc4 /assets | |
parent | Github actions fix (diff) | |
download | beziapp-d766f5af2b59ede34479dcce54b368c3bf816d2b.tar beziapp-d766f5af2b59ede34479dcce54b368c3bf816d2b.tar.gz beziapp-d766f5af2b59ede34479dcce54b368c3bf816d2b.tar.bz2 beziapp-d766f5af2b59ede34479dcce54b368c3bf816d2b.tar.lz beziapp-d766f5af2b59ede34479dcce54b368c3bf816d2b.tar.xz beziapp-d766f5af2b59ede34479dcce54b368c3bf816d2b.tar.zst beziapp-d766f5af2b59ede34479dcce54b368c3bf816d2b.zip |
Diffstat (limited to 'assets')
-rw-r--r-- | assets/js/gradings.js | 18 |
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 |