From 50da5f196680adface66ccf614af198f90c02f14 Mon Sep 17 00:00:00 2001 From: tophf Date: Wed, 2 Feb 2022 13:38:05 +0300 Subject: [PATCH] intercept click on a note properly regressed in cc7eba97 --- js/dom-on-load.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/dom-on-load.js b/js/dom-on-load.js index 3ba84ca7..fbe88231 100644 --- a/js/dom-on-load.js +++ b/js/dom-on-load.js @@ -14,7 +14,8 @@ window.on('keydown', keepFocusRingOnTabbing, {passive: true}); window.on('keypress', clickDummyLinkOnEnter); window.on('wheel', changeFocusedInputOnWheel, {capture: true, passive: false}); - window.on('click', e => splitMenu(e) || showTooltipNote(e)); + window.on('click', splitMenu); + window.on('click', showTooltipNote, true); window.on('resize', () => debounce(addTooltipsToEllipsized, 100)); msg.onExtension(request => { if (request.method === 'editDeleteText') {