diff --git a/src/webview/js/js.js b/src/webview/js/js.js index 8c3853888a0..a1cc3ca9156 100644 --- a/src/webview/js/js.js +++ b/src/webview/js/js.js @@ -406,6 +406,7 @@ const handleLongPress = (e: TouchEvent) => { sendMessage({ type: 'longPress', target: e.target.matches('.header') ? 'header' : 'message', + // $FlowFixMe EventTarget is incompatible with Node (no it is not!) messageId: getMessageIdFromNode(e.target), }); };