From 6453ea675622d079519bc6c010331e6309c34dee Mon Sep 17 00:00:00 2001 From: Bohung Date: Thu, 5 Aug 2021 18:43:30 +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 2981494..29d116e 100644 --- a/assets/javascripts/app.js +++ b/assets/javascripts/app.js @@ -372,7 +372,7 @@ // 當文件物件模型(DOM)載入後,執行init函數 $(document).ready(function() { init(); - if( $('div[data-pp="1000"]').text() !== ''){ + if( $('div[data-pp="1000"]').html().trim() !== ''){ $('.black-screen').addClass('active'); } $('.close-btn').click(function() {