Browse Source

Firefox: different way for reloading a tab

pull/2/head
Deathamns 10 years ago
committed by gorhill
parent
commit
f5c675e8b8
  1. 7
      platform/firefox/vapi-background.js

7
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);
};
/******************************************************************************/

Loading…
Cancel
Save