From c2fd820def596749dbd67829f050588c45d7cbe0 Mon Sep 17 00:00:00 2001 From: Zahra Jabini Date: Fri, 22 May 2020 08:03:53 -0400 Subject: [PATCH] =?UTF-8?q?Shorten=20hide=20timer=20for=20tooltip=20?= =?UTF-8?q?=F0=9F=8D=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/js/views/tooltip.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/js/views/tooltip.js b/src/js/views/tooltip.js index 35016d4c9..7c1e4d2dc 100644 --- a/src/js/views/tooltip.js +++ b/src/js/views/tooltip.js @@ -4,11 +4,10 @@ import { getEventTargetMatchingTag, whenElementIsNotInDOM } from '../utils/element-utils'; -import Position from '../utils/cursor/position'; import { editLink } from '../editor/ui'; const SHOW_DELAY = 200; -const HIDE_DELAY = 1000; +const HIDE_DELAY = 600; export default class Tooltip extends View { constructor(options) {