mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 04:12:45 +00:00 
			
		
		
		
	A lot of generalization for better scaling and overview
This commit is contained in:
		@@ -150,14 +150,14 @@ nopaque.App = class App {
 | 
			
		||||
    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
 | 
			
		||||
      }
 | 
			
		||||
    );
 | 
			
		||||
    // M.Dropdown.init(
 | 
			
		||||
    //   document.querySelector('#nav-more-dropdown-trigger'),
 | 
			
		||||
    //   {
 | 
			
		||||
    //     alignment: 'right',
 | 
			
		||||
    //     constrainWidth: false,
 | 
			
		||||
    //     coverTrigger: false
 | 
			
		||||
    //   }
 | 
			
		||||
    // );
 | 
			
		||||
 | 
			
		||||
    // Manual modal
 | 
			
		||||
    M.Modal.init(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user