Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
allow website access with long press on backbutton
Browse files Browse the repository at this point in the history
Auditors: @bridiver, @luixxiul
Fix #9852
  • Loading branch information
cezaraugusto committed Jul 4, 2017
1 parent a2a7ddd commit 8cdb9a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/browser/tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ const api = {

goToIndex: (tabId, index) => {
const tab = getWebContents(tabId)
if (tab && !tab.isDestroyed() && tab.canGoToIndex(index)) {
if (tab && !tab.isDestroyed() && tab.goToIndex(index)) {
tab.goToIndex(index)
}
},
Expand Down

0 comments on commit 8cdb9a9

Please sign in to comment.