Skip to content

Commit

Permalink
fix(searchbar): changed event listener to click
Browse files Browse the repository at this point in the history
Signed-off-by: Gaurav Shandilya <[email protected]>
  • Loading branch information
void-hr committed Oct 8, 2024
1 parent 9e781bf commit 4ca1760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/hotkey.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
href="https://unpkg.com/[email protected]/dist/css/main.min.css"
/>
<script>
searchKey.addEventListener("mousedown", () => {
searchKey.addEventListener("click", () => {
event.preventDefault();
focusSearchBar();
});
Expand Down

0 comments on commit 4ca1760

Please sign in to comment.