Fixed const being redeclared when script is reevaluated

This commit is contained in:
Nicolas Margulies 2023-11-08 17:10:05 +01:00
parent 24f54ac876
commit 5209a586a9
1 changed files with 2 additions and 2 deletions

View File

@ -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;