Fix bug.
This commit is contained in:
parent
b3dfe4981a
commit
d4d1e65a6d
|
@ -120,7 +120,9 @@ window.GalleryTheater = function() {
|
||||||
|
|
||||||
// handler to show theater
|
// handler to show theater
|
||||||
$("div[data-list=images] a").filter(":not(.preview)").off('click').on("click", function() {
|
$("div[data-list=images] a").filter(":not(.preview)").off('click').on("click", function() {
|
||||||
createTheater($(this).attr("href"));
|
var id = $(this).attr('href').split("#")[1];
|
||||||
|
createTheater("/xhr/galleries/theater/" + id);
|
||||||
|
window.location.hash = '#' + id;
|
||||||
return false;
|
return false;
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue