Skip to content

Commit

Permalink
fix(layer-selector-ui): do not remove checkbox listeners
Browse files Browse the repository at this point in the history
Do not remove listeners and then wonder why they are not there...
  • Loading branch information
AleksueiR committed May 1, 2015
1 parent ed6406b commit ca19106
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/js/RAMP/Utils/checkbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,12 +263,8 @@ define(["dojo/Evented", "dojo/_base/declare", "dojo/_base/lang", "utils/util"],
},

reset: function () {
// remove previous listeners
this.node
.off("change focus focusout")
.removeClass("tooltipstered")
this.node.removeClass("tooltipstered")
;
this._initListeners();
this._toggleLabel();
}
});
Expand Down

0 comments on commit ca19106

Please sign in to comment.