mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 04:12:45 +00:00 
			
		
		
		
	Add context change toast.
This commit is contained in:
		@@ -330,6 +330,10 @@
 | 
			
		||||
  // event triggered on context select change and also if pagination is clicked
 | 
			
		||||
  function changeContext(event) {
 | 
			
		||||
    // newValue = event.target.value;  // cannot use this anymore due to reuse of this function in the above paginationElements eventListener
 | 
			
		||||
    console.log(event);
 | 
			
		||||
    if (event.type === "change") {
 | 
			
		||||
      nopaque.toast("Updated context per match!");
 | 
			
		||||
    }
 | 
			
		||||
    var contextPerItemElement = document.getElementById("context");
 | 
			
		||||
    newValue = contextPerItemElement.value;
 | 
			
		||||
    console.log(newValue);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user