From 9a2440aafa8902d713ac78c3aa0823ffcd83d70a Mon Sep 17 00:00:00 2001 From: Luis Abreu Date: Wed, 28 Sep 2011 22:08:26 +0100 Subject: [PATCH] tweaked bootstrap-tabs plugin active tab selector to allow for nested tabs --- js/bootstrap-tabs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/bootstrap-tabs.js b/js/bootstrap-tabs.js index dece95be66..5154688088 100644 --- a/js/bootstrap-tabs.js +++ b/js/bootstrap-tabs.js @@ -21,7 +21,7 @@ !function( $ ){ function activate ( element, container ) { - container.find('.active').removeClass('active') + container.find('> .active').removeClass('active') element.addClass('active') }