mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-15 10:30:40 +00:00
More Streamlining
This commit is contained in:
@ -149,15 +149,15 @@ nopaque.App = class App {
|
||||
// AutoInit method (maybe they forgot it?). Anyway... We do it here. :)
|
||||
M.CharacterCounter.init(document.querySelectorAll('input[data-length]:not(.no-autoinit), textarea[data-length]:not(.no-autoinit)'));
|
||||
|
||||
// Header navigation "more" Dropdown.
|
||||
// M.Dropdown.init(
|
||||
// document.querySelector('#nav-more-dropdown-trigger'),
|
||||
// {
|
||||
// alignment: 'right',
|
||||
// constrainWidth: false,
|
||||
// coverTrigger: false
|
||||
// }
|
||||
// );
|
||||
// Header navigation account Dropdown.
|
||||
M.Dropdown.init(
|
||||
document.querySelector('#nav-account-dropdown-trigger'),
|
||||
{
|
||||
alignment: 'right',
|
||||
constrainWidth: false,
|
||||
coverTrigger: false
|
||||
}
|
||||
);
|
||||
|
||||
// Manual modal
|
||||
M.Modal.init(
|
||||
|
Reference in New Issue
Block a user