skip build download button if empty

This commit is contained in:
simon 2022-04-03 22:38:25 +07:00
parent 9f91991432
commit 1c4d476f36
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -134,7 +134,9 @@ document.addEventListener("DOMContentLoaded", async () => {
}); });
browserType.storage.local.get("youtube", function(result) { browserType.storage.local.get("youtube", function(result) {
if (result.youtube) {
downlodButton(result); downlodButton(result);
}
}) })
}) })