Fix html: use `oninput` instead of `onsearch`

`onsearch` is non-standard
This commit is contained in:
Rotzbua 2023-02-24 18:43:14 +01:00 committed by Florian Festi
parent b1af53eff0
commit eec47d260d
1 changed files with 3 additions and 3 deletions

View File

@ -309,9 +309,9 @@ class BServer:
<div class="clear"></div>
<hr>
<div class="search"><form onkeydown="return event.key != 'Enter';" onkeyup=filterSearchItems(); return event.key;">
\U0001f50d <input autocomplete="off" type="search" onsearch="filterSearchItems();" name="search" id="search"></input>
</form></div>
<div class="search">
\U0001f50d <input autocomplete="off" type="search" oninput="filterSearchItems();" name="search" id="search" placeholder="Search">
</div>
<div class="menu" style="width: 100%">
<img style="width: 200px;" id="sample-preview" src="{self.static_url}/nothing.png" alt="">