fix conflict with bootstrap tab

This commit is contained in:
zhulin3141 2014-11-07 16:34:23 +08:00
parent 2b120ded77
commit 59f4604eb6

View File

@ -216,7 +216,7 @@ $(document).ready(function() {
$('#edit-secondary .typecho-option-tabs li').click(function() {
$('#edit-secondary .typecho-option-tabs li').removeClass('active');
$(this).addClass('active');
$('.tab-content').addClass('hidden');
$(this).parents('#edit-secondary').find('.tab-content').addClass('hidden');
var selected_tab = $(this).find('a').attr('href'),
selected_el = $(selected_tab).removeClass('hidden');