Skip to content

Commit

Permalink
chrome is stupid
Browse files Browse the repository at this point in the history
  • Loading branch information
WaveringAna committed Jan 7, 2024
1 parent e7cdf69 commit 270c681
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/views/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@
</li>
<% } %>
</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>
</header>
<form hx-post="/" encType="multipart/form-data" hx-target="#embedder-list" hx-swap="innerHTML">
Expand Down

0 comments on commit 270c681

Please sign in to comment.