From 9c9334ff7967eabe07ec0cf55d3d0ce32d5a3c02 Mon Sep 17 00:00:00 2001 From: Bohung Date: Thu, 5 Aug 2021 18:41:00 +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 1a70ef4..6cbfbf8 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 @@