chore: fix tabindex capitalization

The Svelte Language server does not detect `tabIndex` as a valid attribute.

Note, however, that `tabIndex` is correct when using it in JavaScript (e.g., `node.tabIndex`).
This commit is contained in:
metonym 2023-05-03 09:30:29 -07:00
commit 5c7603dbfd
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@
<div
bind:this="{ref}"
role="button"
tabIndex="{disabled ? -1 : 0}"
tabindex="{disabled ? -1 : 0}"
class:bx--tag__close-icon="{true}"
on:click|preventDefault|stopPropagation="{(e) => {
if (!disabled) {

View file

@ -254,7 +254,7 @@
on:click|stopPropagation
on:mousedown|stopPropagation
class:bx--tooltip__content="{true}"
tabIndex="-1"
tabindex="-1"
role="dialog"
>
<slot />