mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
update (#21915)
This commit is contained in:
@@ -34,7 +34,7 @@ const NavigationController = (function () {
|
||||
this.currentIndex++
|
||||
this.history.push(this.webContents._getURL())
|
||||
}
|
||||
this.webContents.on('navigation-entry-commited', (event, url, inPage, replaceEntry) => {
|
||||
this.webContents.on('navigation-entry-committed', (event, url, inPage, replaceEntry) => {
|
||||
if (this.inPageIndex > -1 && !inPage) {
|
||||
// Navigated to a new page, clear in-page mark.
|
||||
this.inPageIndex = -1
|
||||
|
||||
Reference in New Issue
Block a user