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

View File

@ -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;
}) })