mirror of
https://github.com/tubearchivist/browser-extension.git
synced 2024-11-22 19:50:12 +00:00
skip build download button if empty
This commit is contained in:
parent
9f91991432
commit
1c4d476f36
@ -134,7 +134,9 @@ document.addEventListener("DOMContentLoaded", async () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
browserType.storage.local.get("youtube", function(result) {
|
browserType.storage.local.get("youtube", function(result) {
|
||||||
downlodButton(result);
|
if (result.youtube) {
|
||||||
|
downlodButton(result);
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user