Skip to content

Commit

Permalink
Disable link functionality on disabled btn-link
Browse files Browse the repository at this point in the history
Future-proof disabling of clicks on disabled btn-link. Fixes twbs#25639
ensuring consistency between btn-link <button>s and <a>s when disabled.
  • Loading branch information
peteretelej committed Feb 16, 2018
1 parent 73357f9 commit f7a0989
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 f7a0989

Please sign in to comment.