Skip to content

Commit

Permalink
fix: Added button type attribute (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
henrygd authored and 6eDesign committed Aug 9, 2019
1 parent 14b7551 commit a5475eb
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 22 deletions.
16 changes: 8 additions & 8 deletions docs/bundle.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/bundle.js.map

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions docs/test.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/test.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/test.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/Components/Datepicker.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
<div slot="trigger">
<slot>
{#if !trigger}
<button class="calendar-button">
<button class="calendar-button" type="button">
{formattedSelected}
</button>
{/if}
Expand Down
1 change: 1 addition & 0 deletions src/Components/Week.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
class:highlighted={areDatesEquivalent(day.date, highlighted)}
class:shake-date={shouldShakeDate && areDatesEquivalent(day.date, shouldShakeDate)}
class:disabled={!day.selectable}
type="button"
on:click={() => dispatch('dateSelected', day.date)}
>
{day.date.getDate()}
Expand Down

0 comments on commit a5475eb

Please sign in to comment.