replaced innerText with textContent and fixed themes

This commit is contained in:
MathMan05
2024-06-20 12:56:44 -05:00
parent 4e4c34454a
commit e5ead8a77e
13 changed files with 74 additions and 82 deletions

View File

@@ -18,7 +18,7 @@ class contextmenu{
intext.disabled=!thing[4]();
textb.button=intext;
intext.classList.add("contextbutton")
intext.innerText=thing[0]
intext.textContent=thing[0]
textb.appendChild(intext)
console.log(thing)
intext.onclick=thing[1].bind(addinfo,obj);