From afd3b97587b2803dbff96cf122bcd8a5f1eadce5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B1=E5=8D=9A=E4=BA=9E?= Date: Sat, 24 Sep 2022 13:19:16 +0800 Subject: [PATCH] fix error --- app/assets/javascripts/theater.js | 2 ++ 1 file changed, 2 insertions(+) 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");