Permalink
Browse files

fix(link): restore original tabindex when not disabled

  • Loading branch information...
tmorehouse committed Nov 16, 2017
1 parent e2bc891 commit cfdf0b98b3d5961cfa056455056c2f983a62979e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/components/link/link.js
@@ -192,7 +192,7 @@ export default {
rel,
href,
target: props.target,
tabindex: props.disabled ? '-1' : null,
tabindex: props.disabled ? '-1' : (data.attrs ? data.attrs.tabindex : null),
"aria-disabled": (tag === "a" && props.disabled) ? "true" : null
},
props: assign(props, { tag: props.routerTag })

0 comments on commit cfdf0b9

Please sign in to comment.