git.shiar.nl
/
minimedit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0854fd
)
foto: fix javascript warning in test for ?blur option
author
Mischa POSLAWSKY
<perl@shiar.org>
Sun, 8 Jul 2018 02:24:25 +0000
(
04:24
+0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 9 Jul 2018 23:52:57 +0000
(
01:52
+0200)
Careless mistake broke js in commit
v3.2-6-gee09c737f2
(2018-06-19)
[foto: ?blur option to disable thumbnail resizing].
foto/album.inc.php
patch
|
blob
|
history
diff --git
a/foto/album.inc.php
b/foto/album.inc.php
index 94100835dac88ba958f9440c06349a2d8a7c68d1..e961196e34ad6e9e439fe652212b6374aff9c6de 100644
(file)
--- a/
foto/album.inc.php
+++ b/
foto/album.inc.php
@@
-74,7
+74,7
@@
function imgjustify() {
targetRowHeight: 200,
};
var layout = require('justified-layout')(ratios, config);
- var thumbreplace = !
window.location.search.test(/[?&]blur\b/
);
+ var thumbreplace = !
/[?&]blur\b/.test(window.location.search
);
gallery.style.position = 'relative';
gallery.style.height = layout.containerHeight + 'px';