forked from dict/alar.ink
Tweak autocomp style and make auto-select behaviour configurable from the template.
This commit is contained in:
@@ -273,7 +273,7 @@ async function screenshotElement(element) {
|
||||
let debounce;
|
||||
|
||||
autocomp(elQ, {
|
||||
autoSelect: false,
|
||||
autoSelect: elQ.dataset.autocompAutoselect === "true",
|
||||
onQuery: async (val) => {
|
||||
const langCode = localStorage.from_lang;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user