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';