Skip to content
This repository has been archived by the owner on Mar 26, 2019. It is now read-only.

Commit

Permalink
Merge pull request #180 from stefanreimers/patch-1
Browse files Browse the repository at this point in the history
Changed keydown listener in removeListeners()
  • Loading branch information
Mike Wheaton authored Nov 22, 2016
2 parents d5ccf7d + 5a1b55d commit b2a49d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/CheckBox/CheckBox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ namespace fabric {
this._choiceField.removeEventListener("focus", this._FocusHandler.bind(this));
this._choiceField.removeEventListener("blur", this._BlurHandler.bind(this));
this._choiceField.removeEventListener("click", this._ClickHandler.bind(this));
this._choiceField.addEventListener("keydown", this._KeydownHandler.bind(this));
this._choiceField.removeEventListener("keydown", this._KeydownHandler.bind(this));
}

protected _addListeners(events?): void {
Expand Down

0 comments on commit b2a49d6

Please sign in to comment.