git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
login: indicate failure in http status codes
[minimedit.git]
/
foto
/
album.inc.php
diff --git
a/foto/album.inc.php
b/foto/album.inc.php
index c3f3464b6386c803af905d8fbce83c1aba98b719..a0a6c70b653ee6b264e49facebd354ffc16e60e8 100644
(file)
--- a/
foto/album.inc.php
+++ b/
foto/album.inc.php
@@
-104,6
+104,11
@@
function imgjustify() {
}
};
}
};
+if (request = window.location.hash.match(/pid=(.*)/)) {
+ index = images.findIndex(row => row.src == request[1]);
+ openphotoswipe(index);
+}
+
window.addEventListener('resize', imgjustify, false);
imgjustify();
window.addEventListener('resize', imgjustify, false);
imgjustify();