From 2898e8dbb11e5d69934ae39cb8152120b8cc0b21 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Sun, 24 Dec 2023 03:23:08 +0100 Subject: Fixup --- public/gallery.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'public/gallery.js') diff --git a/public/gallery.js b/public/gallery.js index dbcadf6..c7d21a1 100644 --- a/public/gallery.js +++ b/public/gallery.js @@ -427,8 +427,10 @@ let OrphansRow = { view(node) { const info = vnode.attrs.info return m('.row', [ - m('img.thumbnail', {src: `/thumb/${info.sha1}`, - width: info.thumbW, height: info.thumbH, loading}), + // It might not load, but still allow tag viewing. + m(m.route.Link, {href: `/view/${info.sha1}`}, + m('img.thumbnail', {src: `/thumb/${info.sha1}`, + width: info.thumbW, height: info.thumbH, loading})), `${info.tags} tags`, m(OrphansReplacement, {info: info.replacement}), ]) -- cgit v1.2.3-70-g09d2