Ticket zoom: increased double-click/metaToggle timeout (fixes #2586)

This commit is contained in:
Billy Zhou 2019-05-24 15:34:39 +02:00 committed by Thorsten Eckel
parent 5caaaeb2bd
commit e907c13cbe

View file

@ -291,7 +291,7 @@ class ArticleViewItem extends App.ObserverController
toggleMetaWithDelay: (e) => toggleMetaWithDelay: (e) =>
# allow double click select # allow double click select
# by adding a delay to the toggle # by adding a delay to the toggle
delay = 120 delay = 300
if @lastClick and +new Date - @lastClick < delay if @lastClick and +new Date - @lastClick < delay
clearTimeout(@toggleMetaTimeout) clearTimeout(@toggleMetaTimeout)