settings: make version hash look better
This commit is contained in:
parent
cc0cae97f9
commit
ac0ad4d48a
1 changed files with 5 additions and 1 deletions
|
@ -32,9 +32,13 @@ setInterval(() => {
|
|||
|
||||
const oaVersion = host.cloneNode(true);
|
||||
oaVersion.id = 'openasar-ver';
|
||||
oaVersion.textContent = 'OpenAsar <channel> <hash>';
|
||||
oaVersion.textContent = 'OpenAsar <channel> ';
|
||||
oaVersion.onclick = () => DiscordNative.ipc.send('DISCORD_UPDATED_QUOTES', 'o');
|
||||
|
||||
const oaHash = document.querySelector('[class*="versionHash-"]').cloneNode(true);
|
||||
oaHash.textContent = '(<hash>)';
|
||||
oaVersion.appendChild(oaHash);
|
||||
|
||||
host.insertAdjacentElement('afterend', oaVersion);
|
||||
|
||||
const advanced = document.querySelector('[class*="socialLinks-"]').parentElement.querySelectorAll('[class*="separator-')[2].previousElementSibling;
|
||||
|
|
Loading…
Reference in a new issue