mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 09:58:32 +02:00
removed link context menu on JS-only links
This commit is contained in:
parent
ccdb41841e
commit
94b57dadd7
@ -82,7 +82,7 @@ if (utils.isElectron()) {
|
||||
});
|
||||
}
|
||||
|
||||
if (params.linkURL.length !== 0 && params.mediaType === 'none') {
|
||||
if (!["", "javascript:", "about:blank#blocked"].includes(params.linkURL) && params.mediaType === 'none') {
|
||||
items.push({
|
||||
title: `Copy link`,
|
||||
uiIcon: "copy",
|
||||
|
Loading…
x
Reference in New Issue
Block a user