From 18f1cf7f721f5e4af584b08ed7cc200d2dc33fb3 Mon Sep 17 00:00:00 2001 From: Bohung Date: Thu, 5 Aug 2021 18:40:46 +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 f312d6b..a5764cc 100644 --- a/assets/javascripts/app.js +++ b/assets/javascripts/app.js @@ -608,7 +608,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 dff8b39..d07ae8b 100644 --- a/home/index.html.erb +++ b/home/index.html.erb @@ -52,7 +52,7 @@