diff --git a/src/Images/Gallery.coffee b/src/Images/Gallery.coffee index 2e25c3290..6f836b561 100644 --- a/src/Images/Gallery.coffee +++ b/src/Images/Gallery.coffee @@ -75,7 +75,7 @@ Gallery = nodes.menu.addEntry entry $.on d, 'keydown', cb.keybinds - $.off d, 'keydown', Keybinds.keydown + $.off d, 'keydown', Keybinds.keydown if Conf['Keybinds'] for file in $$ '.post .file' when !$ '.fileDeletedRes, .fileDeleted', file post = Get.postFromNode file Gallery.generateThumb post @@ -276,7 +276,7 @@ Gallery = doc.style.overflow = '' $.off d, 'keydown', Gallery.cb.keybinds - $.on d, 'keydown', Keybinds.keydown + $.on d, 'keydown', Keybinds.keydown if Conf['Keybinds'] clearTimeout Gallery.timeoutID setFitness: ->