]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fixes #258, clicking a tab remove .active class from all elements on the page 259/head
authorJacob Fike <jfike@playdom.com>
Mon, 19 Sep 2011 18:54:20 +0000 (11:54 -0700)
committerJacob Fike <jfike@playdom.com>
Mon, 19 Sep 2011 18:54:20 +0000 (11:54 -0700)
js/bootstrap-tabs.js

index 1426d30ed535f2a074a1952edbf88847adbade96..c98403a2d0b7b87394548bf69b88182fae52b0c5 100644 (file)
@@ -28,7 +28,7 @@
   function tab( e ) {
     var $this = $(this)
       , href = $this.attr('href')
-      , $ul = $(e.liveFired)
+      , $ul = $this.closest('ul')
       , $controlled
 
     if (/^#\w+/.test(href)) {