Update CharCounter.plugin.js

This commit is contained in:
Mirco Wittrien 2022-11-01 11:00:33 +01:00
parent f69d547e99
commit b304b28029
1 changed files with 0 additions and 1 deletions

View File

@ -177,7 +177,6 @@ module.exports = (_ => {
}
processNote (e) {
console.log(e);
let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {filter: n => n && n.props && n.props.autoCorrect != undefined});
if (index > -1) this.injectCounter(e.returnvalue, children, e.instance.props.className && e.instance.props.className.indexOf(BDFDB.disCN.usernotepopout) > -1 ? "popoutnote" : "profilenote", "textarea");
}