mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-24 08:20:23 +00:00
Merge pull request #259 from jacobfike/master
fixes #258, clicking a tab remove .active class from all elements on the page
This commit is contained in:
commit
75cbf0d251
1 changed files with 1 additions and 1 deletions
2
js/bootstrap-tabs.js
vendored
2
js/bootstrap-tabs.js
vendored
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue