Fix search bar getting stuck in disabled state-

When page is reloaded with the search open
This commit is contained in:
daudix
2024-07-23 05:35:01 +03:00
parent 9138c95f29
commit 2292081c1f
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ Long, single-line code blocks should not wrap. They should horizontally scroll i
| :----------- | :---------------- | :--------------- | | :----------- | :---------------- | :--------------- |
| Fluttershy | Best pone | Shy and adorable | | Fluttershy | Best pone | Shy and adorable |
| Apple Jack | Good pone | Honest and nice | | Apple Jack | Good pone | Honest and nice |
| Pinke Pie | Fun pone | Party Horn! | | Pinkie Pie | Fun pone | Party horn! |
| Twilight | Decent pone | Neeerd | | Twilight | Decent pone | Neeerd |
| Rainbow Dash | Annoying pone | Looks badass | | Rainbow Dash | Annoying pone | Looks badass |
| Rarity | Fancy pone | Sometimes nice | | Rarity | Fancy pone | Sometimes nice |

View File

@ -62,7 +62,7 @@
<label for="search-bar" class="hidden"> <label for="search-bar" class="hidden">
{{- macros_translate::translate(key="search", default="Search", language_strings=language_strings) -}} {{- macros_translate::translate(key="search", default="Search", language_strings=language_strings) -}}
</label> </label>
<input id="search-bar" placeholder="{{ macros_translate::translate(key='search_for', default='Search for', language_strings=language_strings) }}…" disabled type="search"> <input id="search-bar" placeholder="{{ macros_translate::translate(key='search_for', default='Search for', language_strings=language_strings) }}…" autocomplete="off" type="search" disabled>
<div id="search-results"></div> <div id="search-results"></div>
</div> </div>
</header> </header>