aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Conrad <[email protected]>2013-03-12 17:58:41 -0300
committerAdam Conrad <[email protected]>2013-03-12 17:58:41 -0300
commite488e709a0869cf91b9af73cc03a7d7c00d59b5c (patch)
treef22b96f646db4fc398e383815a0fd7f72a9b9c34
parentd0e1b56603a56abe94f99c30d94737dbe6ecae27 (diff)
downloadbootstrap-e488e709a0869cf91b9af73cc03a7d7c00d59b5c.tar.xz
bootstrap-e488e709a0869cf91b9af73cc03a7d7c00d59b5c.zip
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. 
-rw-r--r--less/buttons.less1
1 files changed, 1 insertions, 0 deletions
diff --git a/less/buttons.less b/less/buttons.less
index 7eaaeb13f..9d53e5016 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);
}