From b979ef4d9e5c50de67c3192301eec41b070302e1 Mon Sep 17 00:00:00 2001 From: Bohung Date: Thu, 5 Aug 2021 18:42:40 +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 74e34f4..d74ae70 100644 --- a/assets/javascripts/app.js +++ b/assets/javascripts/app.js @@ -476,7 +476,7 @@ }) }) init(); - if( $('div[data-pp="1000"]').text() !== ''){ + if( $('div[data-pp="1000"]').html().trim() !== ''){ $('.black-screen').addClass('active'); } $('.close-btn').click(function() {