#38 Fix innerHTML Warning when replacing Anime title
This commit is contained in:
parent
d27e1c75e6
commit
b4d6a886fe
|
@ -65,7 +65,10 @@ function removeUnknownUsers(node) {
|
||||||
let profileData = upperDiv.innerHTML;
|
let profileData = upperDiv.innerHTML;
|
||||||
|
|
||||||
// exchange data
|
// exchange data
|
||||||
upperDiv.innerHTML = `<b>${anime}</b>`;
|
let bElement = document.createElement('b');
|
||||||
|
bElement.textContent = anime;
|
||||||
|
upperDiv.innerHTML = ``;
|
||||||
|
upperDiv.appendChild(bElement);
|
||||||
|
|
||||||
// add user note if own request
|
// add user note if own request
|
||||||
if (profileLink.length > 0) {
|
if (profileLink.length > 0) {
|
||||||
|
|
Loading…
Reference in a new issue