Update UserNotes.plugin.js

This commit is contained in:
Mirco Wittrien 2019-05-18 07:13:18 +02:00 committed by GitHub
parent 3e57426548
commit a6e4e0916a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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();
}
}
}