aboutsummaryrefslogtreecommitdiffstats
path: root/src/webview/contextMenu.js
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2018-12-01 23:56:07 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2018-12-01 23:56:07 +0100
commitd450959f52eb7e7518767c881811c889c3babe39 (patch)
treeb64c672549e6d5acd8228eb63c080cbea1c64b2a /src/webview/contextMenu.js
parentDowngrade electron-builder to 20.34.0 (diff)
downloadferdium-app-d450959f52eb7e7518767c881811c889c3babe39.tar.gz
ferdium-app-d450959f52eb7e7518767c881811c889c3babe39.tar.zst
ferdium-app-d450959f52eb7e7518767c881811c889c3babe39.zip
Fix `cut` context menu
Diffstat (limited to 'src/webview/contextMenu.js')
-rw-r--r--src/webview/contextMenu.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webview/contextMenu.js b/src/webview/contextMenu.js
index 9b148b220..195306fda 100644
--- a/src/webview/contextMenu.js
+++ b/src/webview/contextMenu.js
@@ -35,7 +35,7 @@ const buildMenuTpl = (props, suggestions) => {
35 id: 'cut', 35 id: 'cut',
36 role: can('Cut') ? 'cut' : '', 36 role: can('Cut') ? 'cut' : '',
37 enabled: can('Cut'), 37 enabled: can('Cut'),
38 visible: props.selectionText.trim(), 38 visible: !!props.selectionText.trim(),
39 }, { 39 }, {
40 id: 'copy', 40 id: 'copy',
41 label: 'Copy', 41 label: 'Copy',