This commit is contained in:
Mirco Wittrien 2019-10-29 22:47:25 +01:00
parent a74a6b1342
commit fac9a9a24a
2 changed files with 3 additions and 3 deletions

View File

@ -5552,9 +5552,9 @@ var BDFDB = {myPlugins: BDFDB && BDFDB.myPlugins || {}, cleanUps: BDFDB && BDFDB
this.refElement = node.parentElement.querySelector(this.props.refClass.startsWith(".") ? this.props.refClass : "." + this.props.refClass);
if (this.refElement) {
BDFDB.ListenerUtils.multiRemove(this.refElement, "keydown click change", this.updateCounter);
this.refElement.remove("mousedown", this.handleSelection);
this.refElement.removeEventListener("mousedown", this.handleSelection);
BDFDB.ListenerUtils.multiAdd(this.refElement, "keydown click change", this.updateCounter);
this.refElement.add("mousedown", this.handleSelection);
this.refElement.addEventListener("mousedown", this.handleSelection);
this.updateCounter();
}
}

File diff suppressed because one or more lines are too long