embed fix 1

This commit is contained in:
MathMan05
2024-06-20 14:02:47 -05:00
parent ea0a8d963c
commit 8ed79005fd

View File

@@ -25,7 +25,9 @@ class embed{
}
generateRich(){
const div=document.createElement("div");
if(this.json.color){
div.style.backgroundColor="#"+this.json.color.toString(16);
}
div.classList.add("embed-color");
const embed=document.createElement("div");