lib/servel/templates/gallery.js in servel-0.7.0 vs lib/servel/templates/gallery.js in servel-0.8.0

- old
+ new

@@ -65,10 +65,10 @@ function initEvents() { document.body.addEventListener("click", function(e) { if(!e.target) return; - if(e.target.matches("a.media")) { + if(e.target.matches("a.media:not(.new-tab)")) { e.preventDefault(); jump(e.target.href); } else if(e.target.matches("#page-back")) { e.stopPropagation(); \ No newline at end of file