From bef53e78caf5b85d5ae0ea816a9ff82ef6d0ce73 Mon Sep 17 00:00:00 2001 From: Bohung Date: Thu, 5 Aug 2021 18:41:13 +0800 Subject: [PATCH] Fix bug. --- assets/javascripts/app.js | 2 +- home/index.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/javascripts/app.js b/assets/javascripts/app.js index 49119b6..3a93e5e 100644 --- a/assets/javascripts/app.js +++ b/assets/javascripts/app.js @@ -606,7 +606,7 @@ extendPanelWidget(); }); } init(); - if( $('div[data-pp="1000"]').text() !== ''){ + if( $('div[data-pp="1100"]').html().trim() !== ''){ $('.black-screen').addClass('active'); } $('.close-btn').click(function() { diff --git a/home/index.html.erb b/home/index.html.erb index 388ad39..116785f 100644 --- a/home/index.html.erb +++ b/home/index.html.erb @@ -38,7 +38,7 @@