0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-18 15:54:26 +01:00

Update buttons.less to disable btn pointer events

Buttons that are disabled are still clickable and can still fire click events (such as hopping up to the top of the page if your anchor href points to "#"). Adding the pointer-events:none property will truly disable the button so situations like this don't happen.
This commit is contained in:
Adam Conrad 2013-03-12 17:58:41 -03:00
parent d0e1b56603
commit e488e709a0

View File

@ -42,6 +42,7 @@
&[disabled],
fieldset[disabled] & {
cursor: default;
pointer-events: none;
.opacity(.65);
.box-shadow(none);
}