Update CharCounter.plugin.js
This commit is contained in:
parent
f69d547e99
commit
b304b28029
|
@ -177,7 +177,6 @@ module.exports = (_ => {
|
||||||
}
|
}
|
||||||
|
|
||||||
processNote (e) {
|
processNote (e) {
|
||||||
console.log(e);
|
|
||||||
let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {filter: n => n && n.props && n.props.autoCorrect != undefined});
|
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");
|
if (index > -1) this.injectCounter(e.returnvalue, children, e.instance.props.className && e.instance.props.className.indexOf(BDFDB.disCN.usernotepopout) > -1 ? "popoutnote" : "profilenote", "textarea");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue