From 89a86af348b86650f217deb3b0844c5cac579fcc Mon Sep 17 00:00:00 2001 From: ccd0 Date: Mon, 26 Aug 2019 16:29:29 -0700 Subject: [PATCH] Turn clicking to open in Gallery off on Tinyboard sites when JS enabled to avoid conflict with native expansion. --- src/Images/Gallery.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Images/Gallery.coffee b/src/Images/Gallery.coffee index 4313be2f4..a05fe64d8 100644 --- a/src/Images/Gallery.coffee +++ b/src/Images/Gallery.coffee @@ -24,7 +24,7 @@ Gallery = Gallery.generateThumb @, file Gallery.nodes.total.textContent = Gallery.images.length - unless Conf['Image Expansion'] + unless Conf['Image Expansion'] or (g.SITE.software is 'tinyboard' and Main.jsEnabled) $.on file.thumbLink, 'click', Gallery.cb.image build: (image) ->