* code for task #6180.

This commit is contained in:
wangyidong
2019-08-16 16:10:03 +08:00
parent c5ccb20195
commit c0451b593b
+8
View File
@@ -2,4 +2,12 @@ $(function()
{
$('.tab-pane').removeClass('active');
$('.tab-pane:first').addClass('active');
$('.nav.nav-tabs a[data-toggle="tab"]').on('shown.zui.tab', function(e)
{
var href = $(e.target).data('target');
if(href == '#tabComment')
{
$('.tab-content #tabComment .article-content img').each(function(){setImageSize($(this), 0 , 0);});
}
});
});