From: Adam Conrad Date: Tue, 12 Mar 2013 20:58:41 +0000 (-0300) Subject: Update buttons.less to disable btn pointer events X-Git-Tag: v3.0.0-rc1~579^2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7258%2Fhead;p=thirdparty%2Fbootstrap.git 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.  --- diff --git a/less/buttons.less b/less/buttons.less index 7eaaeb13fa..9d53e50164 100644 --- a/less/buttons.less +++ b/less/buttons.less @@ -42,6 +42,7 @@ &[disabled], fieldset[disabled] & { cursor: default; + pointer-events: none; .opacity(.65); .box-shadow(none); }