Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
This commit is contained in:
Victor Seiji Hariki 2023-01-14 20:17:49 -03:00
parent 28988f84bb
commit f5210b29b6
2 changed files with 2 additions and 2 deletions

View file

@ -349,7 +349,7 @@
<script src="js/lib/commands.js?v=bf23c83" type="text/javascript"></script>
<script src="js/lib/toolbar.js?v=306d637" type="text/javascript"></script>
<script src="js/lib/ui.js?v=5e14f7e" type="text/javascript"></script>
<script src="js/lib/ui.js?v=8172f3d" type="text/javascript"></script>
<script
src="js/initalize/layers.populate.js?v=39785ac"

View file

@ -318,7 +318,7 @@ function createAutoComplete(name, wrapper, options = {}) {
}
function updateOptions(value = null) {
text = value ?? inputEl.value.toLowerCase().trim();
const text = value ?? inputEl.value.toLowerCase().trim();
acobj._options.forEach((opt) => {
const textLocation = opt.name.toLowerCase().indexOf(text);