Skip to content

Commit

Permalink
fix: set type for button (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlockhart authored Jul 12, 2022
1 parent ed37ad9 commit ca8503e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion d2l-navigation-button-icon.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class NavigationButtonIcon extends FocusMixin(LitElement) {
const highlightBorder = !this.disabled ? html`<span class="d2l-navigation-highlight-border"></span>` : nothing;
const icon = html`<d2l-icon icon="${this.icon}"></d2l-icon>`;
return html`
<button id="${ifDefined(id)}" ?disabled="${this.disabled}" aria-label="${ifDefined(ariaLabel)}">
<button id="${ifDefined(id)}" ?disabled="${this.disabled}" aria-label="${ifDefined(ariaLabel)}" type="button">
${highlightBorder}
${this.iconPosition === 'start' ? icon : nothing}
${text}
Expand Down

0 comments on commit ca8503e

Please sign in to comment.