chrome is stupid

This commit is contained in:
waveringana 2024-01-07 15:16:02 -05:00
parent e7cdf69969
commit 270c681438

View file

@ -33,7 +33,11 @@
</li> </li>
<% } %> <% } %>
</ul> </ul>
<input type="text" id="search" name="search" placeholder="Search" value="" /> <form autocomplete="one-time-code">
<!-- Chrome is stupid and will autofill the user name into the search bar sometimes-->
<input type="text" name="user" value="<%= user.username %>" style="display:none;"/>
<input autocomplete="one-time-code" type="text" id="search" name="search" placeholder="Search" value="" />
</form>
</nav> </nav>
</header> </header>
<form hx-post="/" encType="multipart/form-data" hx-target="#embedder-list" hx-swap="innerHTML"> <form hx-post="/" encType="multipart/form-data" hx-target="#embedder-list" hx-swap="innerHTML">