From facfa49fc68a980a31a70f942aa9ada2a254d20c Mon Sep 17 00:00:00 2001 From: Bohung Date: Thu, 5 Aug 2021 18:38:34 +0800 Subject: [PATCH] Fix bug. --- assets/javascripts/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/javascripts/app.js b/assets/javascripts/app.js index 19aec8b..007a9e5 100644 --- a/assets/javascripts/app.js +++ b/assets/javascripts/app.js @@ -626,7 +626,7 @@ extendPanelWidget(); } else { $('.introtext').before($('.introimage')); } - if( $('div[data-pp="2000"]').text() !== ''){ + if( $('div[data-pp="2000"]').html().trim() !== ''){ $('.black-screen').addClass('active'); } $('.close-btn').click(function() {