0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-28 20:52:21 +01:00

Disable link functionality on disabled btn-link (#25645)

Future-proof disabling of clicks on disabled `btn-link`. Fixes #25639
ensuring consistency between `btn-link` `<button>`s and `<a>`s when disabled.
This commit is contained in:
Peter Etelej 2018-03-12 20:36:25 +03:00 committed by XhmikosR
parent 5b0e40b625
commit fb15575ec5

View File

@ -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