Firefox: different way for reloading a tab

This commit is contained in:
Deathamns 2015-03-04 12:29:29 +01:00
parent fbddda46bb
commit 4a10a51d20
1 changed files with 1 additions and 6 deletions

View File

@ -768,12 +768,7 @@ vAPI.tabs.reload = function(tabId) {
return;
}
if ( vAPI.fennec ) {
tab.browser.reload();
return;
}
getOwnerWindow(tab).gBrowser.reloadTab(tab);
getBrowserForTab(tab).webNavigation.reload(0);
};
/******************************************************************************/