mirror of https://github.com/searxng/searxng.git
[fix] search box: clear button don't appear on mouse-copy
You have to copy and paste the query without using the keyboard to replicate the issue. As soon as you press the keyboard the cross appears. [1] - [1] https://github.com/searxng/searxng/issues/3725#issuecomment-2282655272 Reported-by: @Immortality-IMT in [1] Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
8e985aea88
commit
45f03f1902
|
@ -32,7 +32,7 @@
|
||||||
updateClearButton();
|
updateClearButton();
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
});
|
});
|
||||||
qinput.addEventListener('keyup', updateClearButton, false);
|
qinput.addEventListener('input', updateClearButton, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
searxng.ready(function () {
|
searxng.ready(function () {
|
||||||
|
|
Loading…
Reference in New Issue