intercept click on a note properly

regressed in cc7eba97
This commit is contained in:
tophf 2022-02-02 13:38:05 +03:00
parent 2e2c6765b5
commit 50da5f1966

View File

@ -14,7 +14,8 @@
window.on('keydown', keepFocusRingOnTabbing, {passive: true}); window.on('keydown', keepFocusRingOnTabbing, {passive: true});
window.on('keypress', clickDummyLinkOnEnter); window.on('keypress', clickDummyLinkOnEnter);
window.on('wheel', changeFocusedInputOnWheel, {capture: true, passive: false}); 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)); window.on('resize', () => debounce(addTooltipsToEllipsized, 100));
msg.onExtension(request => { msg.onExtension(request => {
if (request.method === 'editDeleteText') { if (request.method === 'editDeleteText') {