From ac32910267cd6c670625fb1cad57b9d892477e8a Mon Sep 17 00:00:00 2001 From: quenousimporte Date: Mon, 3 Jul 2023 09:17:20 +0200 Subject: [PATCH] fixed: do not load link if not saved --- main.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.js b/main.js index 5d5242e..7b61203 100644 --- a/main.js +++ b/main.js @@ -823,6 +823,11 @@ function tagatpos() function clickeditor() { + if (!saved) + { + console.log("Not saved, ctrl+click ignored."); + return; + } if (event.ctrlKey) { var link = linkatpos();