Commit 75cbf0d2 authored by Jacob Thornton's avatar Jacob Thornton

Merge pull request #259 from jacobfike/master

fixes #258, clicking a tab remove .active class from all elements on the page
parents fc6effae 9b61f718
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
function tab( e ) { function tab( e ) {
var $this = $(this) var $this = $(this)
, href = $this.attr('href') , href = $this.attr('href')
, $ul = $(e.liveFired) , $ul = $this.closest('ul')
, $controlled , $controlled
if (/^#\w+/.test(href)) { if (/^#\w+/.test(href)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment