Update CompleteTimestamps.plugin.js

This commit is contained in:
Mirco Wittrien 2019-05-14 16:21:40 +02:00
parent 2f0e92f751
commit 5c17d90fd3
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ class CompleteTimestamps {
processEmbed (instance, wrapper) {
let embed = BDFDB.getReactValue(instance, "props.embed");
let footer = wrapper.querySelector(BDFDB.dotCN.embedfootertext);
if (footer && embed && embed.footer && embed.timestamp && BDFDB.getData("showInEmbed", this, "settings")) {
if (footer && embed && embed.timestamp && BDFDB.getData("showInEmbed", this, "settings")) {
footer.lastChild.textContent = this.getTimestamp(this.languages[BDFDB.getData("creationDateLang", this, "choices")].id, embed.timestamp._i);
}
}