diff --git a/assets/javascripts/app.js b/assets/javascripts/app.js index 7b51c4e..e9e4bc2 100644 --- a/assets/javascripts/app.js +++ b/assets/javascripts/app.js @@ -401,7 +401,7 @@ $('.background').css('z-index','-1'); }; init(); - if( $('div[data-pp="1000"]').text() !== ''){ + if( $('div[data-pp="1100"]').html() !== ''){ $('.black-screen').addClass('active'); } $('.close-btn').click(function() { diff --git a/home/index.html.erb b/home/index.html.erb index 5f7b5a5..4dcf47b 100644 --- a/home/index.html.erb +++ b/home/index.html.erb @@ -36,7 +36,7 @@