This commit is contained in:
bohung committed 2023-09-28 22:49:33 +08:00
1 parent b3dfe4981a
commit 3dcd1e2a3c
1 file changed
+3 -1
+3 -1
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;
})