diff options
| -rw-r--r-- | public/gallery.js | 6 | 
1 files changed, 4 insertions, 2 deletions
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}),  		])  | 
