Fix bug.
This commit is contained in:
1 parent
b3dfe4981a
commit
3dcd1e2a3c
1 file changed
+3
-1
@@ -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;
|
||||
})
|
||||
|
||||
|
||||
Reference in new issue
Block a user