mirror of https://gitlab.crans.org/bde/nk20
Fixed const being redeclared when script is reevaluated
This commit is contained in:
parent
24f54ac876
commit
5209a586a9
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue