Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tswfi committed Dec 20, 2023
1 parent c08fd4c commit 5f2af06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/modules/ps_searchbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const initSearchbar = () => {
// if input has text then submit search when clicking on the icon
// usability for people without "enter" key
searchIcon?.addEventListener('click', () => {
if(searchInput?.value) {
if (searchInput?.value) {
searchInput?.form?.submit();
}
});
Expand Down

0 comments on commit 5f2af06

Please sign in to comment.