From f9e5d3d827288796100384d029edeb52df06eb12 Mon Sep 17 00:00:00 2001 From: bohung Date: Fri, 6 Aug 2021 11:32:07 +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 e7d13bc..17f840b 100644 --- a/assets/javascripts/app.js +++ b/assets/javascripts/app.js @@ -386,7 +386,7 @@ - if( $('div[data-pp="1000"]').html().trim() !== ''){ + if( $('div[data-pp="1000"]').length != 0 && $('div[data-pp="1000"]').html().trim() !== ''){ $('.black-screen').addClass('active'); }