aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/webview/contextMenuBuilder.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/webview/contextMenuBuilder.ts b/src/webview/contextMenuBuilder.ts
index d68605963..92a246cf5 100644
--- a/src/webview/contextMenuBuilder.ts
+++ b/src/webview/contextMenuBuilder.ts
@@ -867,8 +867,8 @@ export class ContextMenuBuilder {
867 new MenuItem({ 867 new MenuItem({
868 label: this.stringTable.goBack(), 868 label: this.stringTable.goBack(),
869 accelerator: `${cmdOrCtrlShortcutKey()}+left`, 869 accelerator: `${cmdOrCtrlShortcutKey()}+left`,
870 enabled: webContents.canGoBack(), 870 enabled: webContents.navigationHistory.canGoBack(),
871 click: () => webContents.goBack(), 871 click: () => webContents.navigationHistory.goBack(),
872 }), 872 }),
873 ); 873 );
874 } 874 }
@@ -882,8 +882,8 @@ export class ContextMenuBuilder {
882 new MenuItem({ 882 new MenuItem({
883 label: this.stringTable.goForward(), 883 label: this.stringTable.goForward(),
884 accelerator: `${cmdOrCtrlShortcutKey()}+right`, 884 accelerator: `${cmdOrCtrlShortcutKey()}+right`,
885 enabled: webContents.canGoForward(), 885 enabled: webContents.navigationHistory.canGoForward(),
886 click: () => webContents.goForward(), 886 click: () => webContents.navigationHistory.goForward(),
887 }), 887 }),
888 ); 888 );
889 } 889 }