From f5c675e8b8d8385d4af9a882f2a41f92ac3b6d33 Mon Sep 17 00:00:00 2001 From: Deathamns Date: Wed, 4 Mar 2015 12:29:29 +0100 Subject: [PATCH] Firefox: different way for reloading a tab --- platform/firefox/vapi-background.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index cf9649d..f51fbdf 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -730,12 +730,7 @@ vAPI.tabs.reload = function(tabId) { return; } - if ( vAPI.fennec ) { - tab.browser.reload(); - return; - } - - getOwnerWindow(tab).gBrowser.reloadTab(tab); + getBrowserForTab(tab).webNavigation.reload(0); }; /******************************************************************************/