This commit is contained in:
BoHung Chiu 2021-08-06 11:31:46 +08:00
parent 9b17ec8c6f
commit 1362043ece
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="1000"]').html().trim() !== ''){ if( $('div[data-pp="1000"]').length != 0 && $('div[data-pp="1000"]').html().trim() !== ''){
$('.black-screen').addClass('active'); $('.black-screen').addClass('active');
} }
$('.close-btn').click(function() { $('.close-btn').click(function() {