diff --git a/Plugins/UserNotes/UserNotes.plugin.js b/Plugins/UserNotes/UserNotes.plugin.js index d3d8bc5eb0..d00d3e94b4 100644 --- a/Plugins/UserNotes/UserNotes.plugin.js +++ b/Plugins/UserNotes/UserNotes.plugin.js @@ -3,7 +3,7 @@ class UserNotes { getName () {return "UserNotes";} - getVersion () {return "1.0.1";} + getVersion () {return "1.0.2";} getAuthor () {return "DevilBro";} @@ -140,7 +140,7 @@ class UserNotes { let userNotesModal = BDFDB.htmlToElement(this.userNotesModalMarkup); let noteinput = userNotesModal.querySelector("#modal-inputtext") - userNotesModal.querySelector(BDFDB.dotCN.modalguildname).text(info.username); + userNotesModal.querySelector(BDFDB.dotCN.modalguildname).innerText = info.username || ""; noteinput.value = note; noteinput.setAttribute("placeholder", note); BDFDB.appendModal(userNotesModal); @@ -150,4 +150,4 @@ class UserNotes { }); noteinput.focus(); } -} \ No newline at end of file +}