We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c04a6c commit a7cbefeCopy full SHA for a7cbefe
1 file changed
src/Main/Service/BrowserViewService.ts
@@ -220,19 +220,19 @@ class _BrowserViewService {
220
}
221
222
canGoBack() {
223
- return this.active.browserView.webContents.canGoBack();
+ return this.active.browserView.webContents.navigationHistory.canGoBack();
224
225
226
canGoForward() {
227
- return this.active.browserView.webContents.canGoForward();
+ return this.active.browserView.webContents.navigationHistory.canGoForward();
228
229
230
goBack() {
231
- return this.active.browserView.webContents.goBack();
+ return this.active.browserView.webContents.navigationHistory.goBack();
232
233
234
goForward() {
235
- return this.active.browserView.webContents.goForward();
+ return this.active.browserView.webContents.navigationHistory.goForward();
236
237
238
focus() {
0 commit comments