add clickable version with GitHub icon to popup header

This commit is contained in:
Koala
2026-05-26 02:58:36 +02:00
parent 9eff53ba46
commit 09f0e04891
2 changed files with 35 additions and 5 deletions
+4 -3
View File
@@ -105,10 +105,11 @@ async function init() {
if (elements.autoCopyInvite) elements.autoCopyInvite.checked = data.autoCopyInvite !== false;
// Set Version Info
const versionTxt = `v${chrome.runtime.getManifest().version}`;
const versionEl = document.getElementById('appVersion');
if (versionEl) {
versionEl.textContent = `v${chrome.runtime.getManifest().version}`;
}
if (versionEl) versionEl.textContent = versionTxt;
const popupVerEl = document.getElementById('popupVersion');
if (popupVerEl) popupVerEl.textContent = versionTxt;
if (data.useCustomServer) {
setServerMode(true);