Merge pull request #333 from zhulin3141/master

fix conflict with bootstrap tab
This commit is contained in:
joyqi 2014-11-07 18:13:05 +08:00
commit 8fd7492840

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');