fix android maybe

This commit is contained in:
idk
2019-11-24 05:41:45 -05:00
parent cb5fa75616
commit b2184119f7

View File

@@ -73,7 +73,8 @@ var contextScrub = async function(requestDetails) {
let tabInfo = await browser.tabs.get(tabId);
return tabInfo;
} catch (error) {
console.log("(scrub)Tab error", error);
let tabInfo = await browser.tabs.getCurrent();
return tabInfo;
}
};
if (requestDetails.tabId > 0) {