This commit is contained in:
BoHung Chiu 2023-09-28 22:49:33 +08:00
parent b3dfe4981a
commit 3dcd1e2a3c
1 changed files with 3 additions and 1 deletions

View File

@ -120,7 +120,9 @@ window.GalleryTheater = function() {
// handler to show theater
$("div[data-list=images] a").filter(":not(.preview)").off('click').on("click", function() {
createTheater($(this).attr("href"));
var id = link.split("#")[1];
createTheater("/xhr/galleries/theater/" + id);
window.location.hash = '#' + id;
return false;
})