fix error
This commit is contained in:
parent
91ee90befe
commit
1cbf58f91b
|
@ -4,7 +4,6 @@ $('.show-gallery .show-content.col-sm-2').ready(function(){
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
window.GalleryTheater = function(){
|
window.GalleryTheater = function(){
|
||||||
bindKeyHandlers();
|
|
||||||
var parent_divs = $('.gallery').parents('div'),
|
var parent_divs = $('.gallery').parents('div'),
|
||||||
parent_div_z_index = parent_divs.eq(parent_divs.length-1).css('z-index')
|
parent_div_z_index = parent_divs.eq(parent_divs.length-1).css('z-index')
|
||||||
parent_divs.eq(parent_divs.length-1).css('z-index','2000')
|
parent_divs.eq(parent_divs.length-1).css('z-index','2000')
|
||||||
|
@ -192,6 +191,7 @@ window.GalleryTheater = function(){
|
||||||
|
|
||||||
gt.createTheater = function(link){
|
gt.createTheater = function(link){
|
||||||
$('.gallery-img-desc').removeClass('active');
|
$('.gallery-img-desc').removeClass('active');
|
||||||
|
bindKeyHandlers();
|
||||||
gt.stage.show();
|
gt.stage.show();
|
||||||
$("body").addClass("gallery-mode-on");
|
$("body").addClass("gallery-mode-on");
|
||||||
gt.isTheaterInitialized = false;
|
gt.isTheaterInitialized = false;
|
||||||
|
|
Loading…
Reference in New Issue