Turn clicking to open in Gallery off on Tinyboard sites when JS enabled to avoid conflict with native expansion.
This commit is contained in:
parent
7aca4b7e1f
commit
89a86af348
@ -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) ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user