mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-11-04 01:12:08 +01:00 
			
		
		
		
	Fixed const being redeclared when script is reevaluated
This commit is contained in:
		@@ -259,8 +259,8 @@ function consume (source, source_alias, dest, quantity, amount, reason, type, ca
 | 
			
		||||
    })
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
const searchbar = document.getElementById("search-input")
 | 
			
		||||
const search_results = document.getElementById("search-results")
 | 
			
		||||
var searchbar = document.getElementById("search-input")
 | 
			
		||||
var search_results = document.getElementById("search-results")
 | 
			
		||||
 | 
			
		||||
var old_pattern = null;
 | 
			
		||||
var firstMatch = null;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user