From e488e709a0869cf91b9af73cc03a7d7c00d59b5c Mon Sep 17 00:00:00 2001 From: Adam Conrad Date: Tue, 12 Mar 2013 17:58:41 -0300 Subject: [PATCH] Update buttons.less to disable btn pointer events MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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.  --- less/buttons.less | 1 + 1 file changed, 1 insertion(+) 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); }