aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-04-14 22:43:36 -0700
committerJacob Thornton <[email protected]>2012-04-14 22:43:36 -0700
commitc7dc4cc573c61306ae849d316f432160b16a2099 (patch)
treeadc20d09c8b62017984bb0d4f69a6b36e88c6343 /docs
parentce944421042def2782fc8699e16d872ee6dce4e3 (diff)
downloadbootstrap-c7dc4cc573c61306ae849d316f432160b16a2099.tar.xz
bootstrap-c7dc4cc573c61306ae849d316f432160b16a2099.zip
change position of var in dropdown + cleanup makefile vars
Diffstat (limited to 'docs')
-rw-r--r--docs/assets/bootstrap.zipbin71251 -> 71289 bytes
-rw-r--r--docs/assets/js/bootstrap-dropdown.js6
2 files changed, 5 insertions, 1 deletions
diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip
index 0fd350f5b..58fe79b25 100644
--- a/docs/assets/bootstrap.zip
+++ b/docs/assets/bootstrap.zip
Binary files differ
diff --git a/docs/assets/js/bootstrap-dropdown.js b/docs/assets/js/bootstrap-dropdown.js
index f27f4d2f4..d856ba6ec 100644
--- a/docs/assets/js/bootstrap-dropdown.js
+++ b/docs/assets/js/bootstrap-dropdown.js
@@ -40,10 +40,14 @@
, toggle: function (e) {
var $this = $(this)
- , selector = $this.attr('data-target')
, $parent
+ , selector
, isActive
+ if ($this.is('.disabled, :disabled')) return
+
+ selector = $this.attr('data-target')
+
if (!selector) {
selector = $this.attr('href')
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7