diff options
author | 2024-04-16 07:47:42 +0530 | |
---|---|---|
committer | 2024-04-16 12:07:47 +0000 | |
commit | 90a2029ac6e2fb4109f52322bc21d847d8d0007a (patch) | |
tree | f962c799606aec104a4793ff6f1da174c0520a83 /src | |
parent | Partially revert cbba61b40112b41c43285a1a279969e68df1a2e9. (diff) | |
download | ferdium-app-90a2029ac6e2fb4109f52322bc21d847d8d0007a.tar.gz ferdium-app-90a2029ac6e2fb4109f52322bc21d847d8d0007a.tar.zst ferdium-app-90a2029ac6e2fb4109f52322bc21d847d8d0007a.zip |
Upgrade electron to '30.0.0'
Diffstat (limited to 'src')
-rw-r--r-- | src/webview/contextMenuBuilder.ts | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/webview/contextMenuBuilder.ts b/src/webview/contextMenuBuilder.ts index f81b051ee..0a8b9c57b 100644 --- a/src/webview/contextMenuBuilder.ts +++ b/src/webview/contextMenuBuilder.ts | |||
@@ -258,7 +258,17 @@ export class ContextMenuBuilder { | |||
258 | return this.buildMenuForVideo(info); | 258 | return this.buildMenuForVideo(info); |
259 | } | 259 | } |
260 | 260 | ||
261 | if (info.isEditable || info.inputFieldType !== 'none') { | 261 | if ( |
262 | info.isEditable || | ||
263 | info.formControlType === 'input-email' || | ||
264 | info.formControlType === 'input-file' || | ||
265 | info.formControlType === 'input-number' || | ||
266 | info.formControlType === 'input-search' || | ||
267 | info.formControlType === 'input-telephone' || | ||
268 | info.formControlType === 'input-text' || | ||
269 | info.formControlType === 'input-url' || | ||
270 | info.formControlType === 'text-area' | ||
271 | ) { | ||
262 | return this.buildMenuForTextInput(info); | 272 | return this.buildMenuForTextInput(info); |
263 | } | 273 | } |
264 | 274 | ||