stuff
This commit is contained in:
parent
a74a6b1342
commit
fac9a9a24a
|
@ -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
Loading…
Reference in New Issue