add changelog button in popup

This commit is contained in:
sy-b committed 2022-04-16 14:40:31 +00:00
1 parent b73aaddb59
commit 991f29771a
2 files changed
+9 -7

No files matched your search

+7 -7
View File
@@ -12,7 +12,7 @@
/> />
</head> </head>
<body> <body>
<center> <center>
<svg width="48" viewBox="0 0 24 24"> <svg width="48" viewBox="0 0 24 24">
<path <path
d="M14.9 3H6c-.9 0-1.6.5-1.9 1.2l-3 7c-.1.3-.1.5-.1.7v2c0 1.1.9 2 2 2h6.3l-.9 4.5c-.1.5 0 1 .4 1.4l1.1 1.1 6.5-6.6c.4-.4.6-.9.6-1.4V5c-.1-1.1-1-2-2.1-2zm7.4 12.8h-2.9c-.4 0-.7-.3-.7-.7V3.9c0-.4.3-.7.7-.7h2.9c.4 0 .7.3.7.7V15c0 .4-.3.8-.7.8z" d="M14.9 3H6c-.9 0-1.6.5-1.9 1.2l-3 7c-.1.3-.1.5-.1.7v2c0 1.1.9 2 2 2h6.3l-.9 4.5c-.1.5 0 1 .4 1.4l1.1 1.1 6.5-6.6c.4-.4.6-.9.6-1.4V5c-.1-1.1-1-2-2.1-2zm7.4 12.8h-2.9c-.4 0-.7-.3-.7-.7V3.9c0-.4.3-.7.7-.7h2.9c.4 0 .7.3.7.7V15c0 .4-.3.8-.7.8z"
@@ -30,11 +30,7 @@
<button id="link_website" title="__MSG_linkWebsite__"> <button id="link_website" title="__MSG_linkWebsite__">
__MSG_linkWebsite__ __MSG_linkWebsite__
</button> </button>
<button <button style="margin-top: 0.3em; background: #ff0000" id="link_donate" title="__MSG_linkDonate__">
style="margin-top: 0.3em; background: #ff0000"
id="link_donate"
title="__MSG_linkDonate__"
>
__MSG_linkDonate__ __MSG_linkDonate__
</button> </button>
<button id="link_discord">Discord</button> <button id="link_discord">Discord</button>
@@ -46,6 +42,10 @@
<button style="margin-top: 0.3em" id="link_help" title="__MSG_linkHelp__"> <button style="margin-top: 0.3em" id="link_help" title="__MSG_linkHelp__">
__MSG_linkHelp__ __MSG_linkHelp__
</button> </button>
<br>
<button style="margin-top: 0.3em" id="link_changelog" title="__MSG_linkChangelog__">
Change Log
</button>
<br/> <br/>
<br/> <br/>
@@ -59,7 +59,7 @@
<br/> <br/>
<br/> <br/>
</center> </center>
<!-- top-right --> <!-- top-right -->
<button id="advancedToggle"> <button id="advancedToggle">
+2
View File
@@ -19,6 +19,7 @@ const config = {
donate: "https://returnyoutubedislike.com/donate", donate: "https://returnyoutubedislike.com/donate",
faq: "https://returnyoutubedislike.com/faq", faq: "https://returnyoutubedislike.com/faq",
help: "https://returnyoutubedislike.com/help", 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.faq, "link_faq");
createLink(config.links.donate, "link_donate"); createLink(config.links.donate, "link_donate");
createLink(config.links.help, "link_help"); createLink(config.links.help, "link_help");
createLink(config.links.changelog, "link_changelog");
function createLink(url, id) { function createLink(url, id) {
document.getElementById(id).addEventListener("click", () => { document.getElementById(id).addEventListener("click", () => {