This commit is contained in:
BoHung Chiu 2021-08-06 11:32:25 +08:00
parent facfa49fc6
commit e79c2d31fd
1 changed files with 1 additions and 1 deletions

View File

@ -626,7 +626,7 @@ extendPanelWidget();
} else { } else {
$('.introtext').before($('.introimage')); $('.introtext').before($('.introimage'));
} }
if( $('div[data-pp="2000"]').html().trim() !== ''){ if( $('div[data-pp="2000"]').length != 0 && $('div[data-pp="2000"]').html().trim() !== ''){
$('.black-screen').addClass('active'); $('.black-screen').addClass('active');
} }
$('.close-btn').click(function() { $('.close-btn').click(function() {