fixed: do not load link if not saved
This commit is contained in:
parent
545915b497
commit
ac32910267
1 changed files with 5 additions and 0 deletions
5
main.js
5
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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue