fix error
This commit is contained in:
parent
14f4e91817
commit
1057c5f6c4
|
@ -41,6 +41,9 @@ window.GalleryTheater = function() {
|
||||||
button_stop_string = '<button id ="theaterStopButton" class="theaterButton">|| </button>',
|
button_stop_string = '<button id ="theaterStopButton" class="theaterButton">|| </button>',
|
||||||
playtimeoutID;
|
playtimeoutID;
|
||||||
var initialize = function() {
|
var initialize = function() {
|
||||||
|
if ($('#orbit-bar').height()>0){ //for show page
|
||||||
|
$('#gallery-theater-stage>.gallery').css('margin-top','2.4em')
|
||||||
|
}
|
||||||
stage = $("#gallery-theater-stage");
|
stage = $("#gallery-theater-stage");
|
||||||
closeBtn = stage.find(".gallery-close");
|
closeBtn = stage.find(".gallery-close");
|
||||||
switchBtn = stage.find(".gallery-theme-switch");
|
switchBtn = stage.find(".gallery-theme-switch");
|
||||||
|
|
|
@ -86,7 +86,7 @@
|
||||||
<%= javascript_include_tag "theater" %>
|
<%= javascript_include_tag "theater" %>
|
||||||
<% OrbitHelper.render_meta_tags([{"name" => "mobile-web-app-capable","content" => "yes"},{"name" => "apple-mobile-web-app-status-bar-style","content" => "black-translucent"}]) %>
|
<% OrbitHelper.render_meta_tags([{"name" => "mobile-web-app-capable","content" => "yes"},{"name" => "apple-mobile-web-app-status-bar-style","content" => "black-translucent"}]) %>
|
||||||
<div id="gallery-theater-stage">
|
<div id="gallery-theater-stage">
|
||||||
<div class="<%= @layout_type==2 ? 'show-gallery-2 ' : '' %>gallery" style="margin-top: 2.4em;">
|
<div class="<%= @layout_type==2 ? 'show-gallery-2 ' : '' %>gallery">
|
||||||
<div class="gallery-loader">
|
<div class="gallery-loader">
|
||||||
<div class="spinner">
|
<div class="spinner">
|
||||||
<div class="rect1"></div>
|
<div class="rect1"></div>
|
||||||
|
|
Loading…
Reference in New Issue