fix error

This commit is contained in:
邱博亞 2022-09-24 13:19:16 +08:00
parent 1057c5f6c4
commit afd3b97587
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,8 @@ window.GalleryTheater = function() {
var initialize = function() { var initialize = function() {
if ($('#orbit-bar').height()>0){ //for show page if ($('#orbit-bar').height()>0){ //for show page
$('#gallery-theater-stage>.gallery').css('margin-top','2.4em') $('#gallery-theater-stage>.gallery').css('margin-top','2.4em')
}else{
$('#gallery-theater-stage>.gallery').css('margin-top','')
} }
stage = $("#gallery-theater-stage"); stage = $("#gallery-theater-stage");
closeBtn = stage.find(".gallery-close"); closeBtn = stage.find(".gallery-close");