navigation: fix accessing url from history array for goToIndex
This commit is contained in:
parent
827741a9c6
commit
ef30adcaef
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ class NavigationController
|
|||
goToIndex: (index) ->
|
||||
return unless @canGoToIndex index
|
||||
@pendingIndex = index
|
||||
@webContents._loadUrl @history[@pendingIndex].url, {}
|
||||
@webContents._loadUrl @history[@pendingIndex], {}
|
||||
|
||||
goToOffset: (offset) ->
|
||||
return unless @canGoToOffset offset
|
||||
|
|
Loading…
Reference in a new issue