X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/ee09c737f25b21db46ed1105a407f2a1ee14cd44..a1bb8561064d0985ecb6c65054bf352f667bc9b7:/foto/album.inc.php diff --git a/foto/album.inc.php b/foto/album.inc.php index 9410083..c3f3464 100644 --- a/foto/album.inc.php +++ b/foto/album.inc.php @@ -26,7 +26,7 @@ function openphotoswipe(index) { @@ -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';