Skip to content

Commit 4e58b88

Browse files
authored
Use window.search instead of search (#784) (#785)
1 parent 3404951 commit 4e58b88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/_partials/_search.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<input
1010
@click.outside="results = false"
11-
@keyup="search(event).then(function({ results: hits }) { results = true; threads = hits[0].hits; articles = hits[1].hits; })"
11+
@keyup="window.search(event).then(function({ results: hits }) { results = true; threads = hits[0].hits; articles = hits[1].hits; })"
1212
type="search"
1313
name="search"
1414
id="search"

0 commit comments

Comments
 (0)