Fix wrong var on Discord service

This commit is contained in:
Amauri CHAMPEAUX 2021-08-30 12:06:45 +02:00 committed by GitHub
parent b5284f4b22
commit 0a5f4d6b76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -4454,7 +4454,7 @@ tarteaucitron.services.discord = {
width = x.getAttribute("width"),
height = x.getAttribute("height")
var widgetURL = "https://discord.com/widget?id=" + id;
return "<iframe width=\"" + width + "\" height=\"" + height + "\"src=\"https://discord.com/widget?id=" + widgetURL + "\"></iframe>";
return "<iframe width=\"" + width + "\" height=\"" + height + "\" src=\"" + widgetURL + "\"></iframe>";
});
},
"fallback": function () {
@ -4750,4 +4750,4 @@ tarteaucitron.services.marketomunchkin = {
s.onload = initMunchkin;
document.getElementsByTagName('head')[0].appendChild(s);
}
}
}