mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2025-04-13 07:17:12 +03:00
Fix broken DHT userscript button in new Discord UI
This commit is contained in:
parent
0d6b7d51a6
commit
d9ea72e429
@ -19,7 +19,7 @@ const start = function(){
|
||||
const css = document.createElement("style");
|
||||
|
||||
css.innerText = `
|
||||
#dht-userscript-trigger { cursor: pointer }
|
||||
#dht-userscript-trigger { cursor: pointer; margin-top: 5px }
|
||||
#dht-userscript-trigger svg { opacity: 0.6 }
|
||||
#dht-userscript-trigger:hover svg { opacity: 1 }
|
||||
`;
|
||||
@ -31,7 +31,7 @@ window.setInterval(function(){
|
||||
return;
|
||||
}
|
||||
|
||||
const help = document.querySelector("div[class^='titleWrapper'] a[href*='support.discordapp.com']");
|
||||
const help = document.querySelector("div[class^='title'] a[href*='support.discordapp.com']");
|
||||
|
||||
if (help){
|
||||
help.insertAdjacentHTML("afterend", `
|
||||
|
Loading…
x
Reference in New Issue
Block a user