mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-10-14 02:31:58 +00:00
init materialize elements the right way.
This commit is contained in:
@@ -182,14 +182,7 @@
|
||||
document.getElementById("nav-account"),
|
||||
{"alignment": "right", "constrainWidth": false, "coverTrigger": false}
|
||||
);
|
||||
M.Dropdown.init(
|
||||
document.getElementById("new-job"),
|
||||
{"coverTrigger": false}
|
||||
);
|
||||
var loadingModal = document.getElementById("loading-modal");
|
||||
console.log(loadingModal);
|
||||
M.Modal.init(loadingModal, {"dismissible": false});
|
||||
M.Modal.getInstance(loadingModal).open();
|
||||
// Highlight current navigation entry
|
||||
var entry;
|
||||
for (entry of document.querySelectorAll("#slide-out a:not(.subheader)")) {
|
||||
if (entry.href === window.location.href) {
|
||||
|
Reference in New Issue
Block a user