Skip to content

Commit

Permalink
Disable link functionality on disabled btn-link (#25645)
Browse files Browse the repository at this point in the history
Future-proof disabling of clicks on disabled `btn-link`. Fixes #25639
ensuring consistency between `btn-link` `<button>`s and `<a>`s when disabled.
  • Loading branch information
peteretelej authored and XhmikosR committed Mar 12, 2018
1 parent 5b0e40b commit fb15575
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scss/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ fieldset:disabled a.btn {
&:disabled,
&.disabled {
color: $btn-link-disabled-color;
pointer-events: none;
}

// No need for an active state here
Expand Down

0 comments on commit fb15575

Please sign in to comment.