X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/f0854fdec506a219e5c92c2453fcb2eff76a8dc9..bad405058add16983241e38c338589575123e5a5:/foto/album.inc.php diff --git a/foto/album.inc.php b/foto/album.inc.php index 9410083..e961196 100644 --- 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';