fix: re-apply patch-1
This commit is contained in:
parent
a29f69520c
commit
beb78bfcce
|
|
@ -90,7 +90,7 @@ chrome.action.onClicked.addListener(function (tab) {
|
||||||
// use this tab to get the youtube video URL
|
// use this tab to get the youtube video URL
|
||||||
let videoUrl = tabs[0].url;
|
let videoUrl = tabs[0].url;
|
||||||
sendVideoUrlToMetube(videoUrl, data.metube, data.defaultFormat, data.advancedSettings, function () {
|
sendVideoUrlToMetube(videoUrl, data.metube, data.defaultFormat, data.advancedSettings, function () {
|
||||||
if (!needToSwitch) {
|
if (needToSwitch) {
|
||||||
openTab(data.metube, tab);
|
openTab(data.metube, tab);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue