diff --git a/js/checkbox.js b/js/checkbox.js index 13bc84530..1497c324b 100644 --- a/js/checkbox.js +++ b/js/checkbox.js @@ -109,7 +109,7 @@ }, toggle: function(e) { - if (!e || e.currentTarget == e.originalEvent.target) { + if (!e || e.currentTarget === e.originalEvent.target) { this.state.checked = !this.state.checked; this._toggleCheckedState();