From ee06dfd1c898d50742b624bec7e8fc6feb70427f Mon Sep 17 00:00:00 2001 From: yunxiang wei <121092793+yiwangsimple@users.noreply.github.com> Date: Fri, 9 Aug 2024 15:24:34 +0800 Subject: [PATCH] Add files via upload --- web/github_link_node.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/github_link_node.js b/web/github_link_node.js index ab6fb6b..c0f300c 100644 --- a/web/github_link_node.js +++ b/web/github_link_node.js @@ -112,7 +112,8 @@ LGraphCanvas.prototype.processMouseDown = function(e) { if(canvasX >= iconX && canvasX <= iconX1 && canvasY >= iconY && canvasY <= iconY1) { isClickPaperPlane = true - openNodeGithubLink(node); + openNodeGithubLink(node); // 阻止默认行为 + e.stopPropagation(); // 阻止事件冒泡 break } }