Skip to content

Commit 78564b8

Browse files
Merge pull request #22 from base-report/master
fix: remove unnecessary input handler
2 parents 9fd2efa + 06e2781 commit 78564b8

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/lib/DatePicker.svelte

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -226,13 +226,7 @@
226226
>
227227
</div>
228228
<div class="dropdown month">
229-
<select
230-
bind:value={browseMonth}
231-
on:input={() => {
232-
setMonth(browseMonth)
233-
}}
234-
on:keydown={monthKeydown}
235-
>
229+
<select bind:value={browseMonth} on:keydown={monthKeydown}>
236230
{#each iLocale.months as monthName, i}
237231
<option
238232
disabled={new Date(browseYear, i, getMonthLength(browseYear, i), 23, 59, 59, 999) <

0 commit comments

Comments
 (0)