From: Luis Abreu Date: Wed, 28 Sep 2011 21:08:26 +0000 (+0100) Subject: tweaked bootstrap-tabs plugin active tab selector to allow for nested tabs X-Git-Tag: v1.4.0~54^2^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9a2440aafa8902d713ac78c3aa0823ffcd83d70a;p=thirdparty%2Fbootstrap.git tweaked bootstrap-tabs plugin active tab selector to allow for nested tabs --- 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') }