mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-03 20:02:47 +00:00 
			
		
		
		
	New expert mode
This commit is contained in:
		@@ -346,7 +346,8 @@
 | 
			
		||||
 | 
			
		||||
    // live update of hits per page if hits per page value is changed
 | 
			
		||||
    hitsPerPageInputElement = document.getElementById("display-options-form-results_per_page");
 | 
			
		||||
    hitsPerPageInputElement.onchange = results.resultsList.changeHitsPerPage;
 | 
			
		||||
    let changeHitsPerPageBind = results.resultsList.changeHitsPerPage.bind(results.resultsList);
 | 
			
		||||
    hitsPerPageInputElement.onchange = changeHitsPerPageBind;
 | 
			
		||||
 | 
			
		||||
    // live update of lr context per item if context value is changed
 | 
			
		||||
    contextPerItemElement = document.getElementById("display-options-form-result_context");
 | 
			
		||||
@@ -361,7 +362,8 @@
 | 
			
		||||
 | 
			
		||||
    // epxert mode table view
 | 
			
		||||
    // TODO: Redo this
 | 
			
		||||
    // TODO: This replicates itself on expertModeSwitchElement use
 | 
			
		||||
    // - This replicates itself on expertModeSwitchElement use
 | 
			
		||||
    // - Replication should be fixed
 | 
			
		||||
    expertModeSwitchElement.addEventListener("change", (event) => {
 | 
			
		||||
      if (event.target.checked) {
 | 
			
		||||
        results.resultsList.expertModeOn();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user