diff --git a/app/assets/javascripts/theater.js b/app/assets/javascripts/theater.js index 5277ea7..785485e 100644 --- a/app/assets/javascripts/theater.js +++ b/app/assets/javascripts/theater.js @@ -43,6 +43,8 @@ window.GalleryTheater = function() { var initialize = function() { if ($('#orbit-bar').height()>0){ //for show page $('#gallery-theater-stage>.gallery').css('margin-top','2.4em') + }else{ + $('#gallery-theater-stage>.gallery').css('margin-top','') } stage = $("#gallery-theater-stage"); closeBtn = stage.find(".gallery-close");