From 8cdb9a92fa38b40e238581995da5d73ed9b105e1 Mon Sep 17 00:00:00 2001 From: Cezar Augusto Date: Tue, 4 Jul 2017 00:45:10 -0300 Subject: [PATCH] allow website access with long press on backbutton Auditors: @bridiver, @luixxiul Fix #9852 --- app/browser/tabs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/browser/tabs.js b/app/browser/tabs.js index d0002e7b030..c7965fddd60 100644 --- a/app/browser/tabs.js +++ b/app/browser/tabs.js @@ -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) } },