* code for task #6180.
This commit is contained in:
@@ -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);});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user