dscheis firefox h@ix8
This commit is contained in:
parent
f1928a1d0a
commit
227951135c
@ -114,6 +114,7 @@ const flash = ({ type, msg }) => {
|
|||||||
input.size = "10";
|
input.size = "10";
|
||||||
input.value = "";
|
input.value = "";
|
||||||
input.setAttribute("list", "testlist");
|
input.setAttribute("list", "testlist");
|
||||||
|
input.setAttribute("autoComplete", "off");
|
||||||
|
|
||||||
span.insertAdjacentElement("afterbegin", input);
|
span.insertAdjacentElement("afterbegin", input);
|
||||||
insert.insertAdjacentElement("beforebegin", span);
|
insert.insertAdjacentElement("beforebegin", span);
|
||||||
@ -167,7 +168,10 @@ const flash = ({ type, msg }) => {
|
|||||||
for(const entry of res.suggestions) {
|
for(const entry of res.suggestions) {
|
||||||
const option = document.createElement('option');
|
const option = document.createElement('option');
|
||||||
option.value = entry.tag;
|
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);
|
testList.insertAdjacentElement('beforeEnd', option);
|
||||||
};
|
};
|
||||||
}, 500);
|
}, 500);
|
||||||
|
Loading…
Reference in New Issue
Block a user