diff --git a/public/s/js/admin.js b/public/s/js/admin.js index cf95641..6912755 100644 --- a/public/s/js/admin.js +++ b/public/s/js/admin.js @@ -114,6 +114,7 @@ const flash = ({ type, msg }) => { input.size = "10"; input.value = ""; input.setAttribute("list", "testlist"); + input.setAttribute("autoComplete", "off"); span.insertAdjacentElement("afterbegin", input); insert.insertAdjacentElement("beforebegin", span); @@ -167,7 +168,10 @@ const flash = ({ type, msg }) => { for(const entry of res.suggestions) { const option = document.createElement('option'); option.value = entry.tag; - option.innerText = `tagged ${entry.tagged} times`; + + if(!/fox/.test(navigator.userAgent)) + option.innerText = `tagged ${entry.tagged} times`; + testList.insertAdjacentElement('beforeEnd', option); }; }, 500);