From 56d94ae16e94abd0b185690665f97b8c15d09408 Mon Sep 17 00:00:00 2001 From: Bohung Date: Thu, 5 Aug 2021 18:40:16 +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 8653b66..b2eb937 100644 --- a/assets/javascripts/app.js +++ b/assets/javascripts/app.js @@ -320,7 +320,7 @@ }); } },lightBox:function(){ - if( $('div[data-pp="1000"]').text() !== ''){ + if( $('div[data-pp="1000"]').html().trim() !== ''){ $('.black-screen').addClass('active'); }