1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-26 18:37:12 +00:00

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

View File

@ -259,8 +259,8 @@ function consume (source, source_alias, dest, quantity, amount, reason, type, ca
}) })
} }
const searchbar = document.getElementById("search-input") var searchbar = document.getElementById("search-input")
const search_results = document.getElementById("search-results") var search_results = document.getElementById("search-results")
var old_pattern = null; var old_pattern = null;
var firstMatch = null; var firstMatch = null;