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'); }