Skip to content

Commit

Permalink
Torrent search: Fix for Safari on iOS. (#235)
Browse files Browse the repository at this point in the history
* Torrent search: Fix for Safari on iOS.

keyup.enter event does not seem to trigger for Safari on iOS.
Trigger update-code on blur-event too to workaround.

This fixes #117.

* Update embedded npm content
  • Loading branch information
josteink committed Mar 30, 2024
1 parent e9e19a5 commit 7902b93
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions webui/dist/bitmagnet/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@
matInput
placeholder="Search"
[formControl]="queryString"
(blur)="
search.setQueryString(queryString.value ?? '');
search.firstPage();
search.loadResult()
"
(keyup.enter)="
search.setQueryString(queryString.value ?? '');
search.firstPage();
Expand Down

0 comments on commit 7902b93

Please sign in to comment.