cherry pick #541

clean up unnecessary commented code

Show changelog only on installation

fixes #534

add changelog button in popup
This commit is contained in:
sy-b authored and Yvon Cui committed 2022-04-19 00:07:16 -05:00
1 parent 2e6ed5298b
commit a99410ae13
3 files changed
+55 -52

No files matched your search

+2
View File
@@ -19,6 +19,7 @@ const config = {
donate: "https://returnyoutubedislike.com/donate",
faq: "https://returnyoutubedislike.com/faq",
help: "https://returnyoutubedislike.com/help",
changelog: "/changelog/3/changelog_3.0.html"
},
};
@@ -49,6 +50,7 @@ createLink(config.links.discord, "link_discord");
createLink(config.links.faq, "link_faq");
createLink(config.links.donate, "link_donate");
createLink(config.links.help, "link_help");
createLink(config.links.changelog, "link_changelog");
function createLink(url, id) {
document.getElementById(id).addEventListener("click", () => {