1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 00:59:51 +02:00

change position of var in dropdown + cleanup makefile vars

This commit is contained in:
Jacob Thornton
2012-04-14 22:43:36 -07:00
parent ce94442104
commit c7dc4cc573
4 changed files with 6 additions and 4 deletions

Binary file not shown.

View File

@@ -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