diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 6beb22cfa..14e4dc341 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -114,6 +114,7 @@ Kaben Nanlohy Tobias Predel Daniel Tang Jack Pearson +yellowjello ******************** diff --git a/ts/graphs/RangeBox.svelte b/ts/graphs/RangeBox.svelte index 265a318ed..d24f871c3 100644 --- a/ts/graphs/RangeBox.svelte +++ b/ts/graphs/RangeBox.svelte @@ -55,11 +55,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html } } - function searchKeyUp(event: KeyboardEvent): void { - // fetch data on enter - if (event.code === "Enter") { - $search = displayedSearch; - } + function updateSearch(): void { + $search = displayedSearch; } const year = tr.statisticsRange_1YearHistory(); @@ -89,7 +86,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html { searchRange = SearchRange.Custom; }}