Make ESLint happy

parent cf978b5b
export default class GeoNodeForm {
constructor(container) {
this.$container = container;
this.$namespaces = this.$container.find(".js-namespaces");
this.$namespaces = this.$container.find('.js-namespaces');
this.$namespacesSelect = this.$namespaces.find('.select2');
this.$primaryCheckbox = this.$container.find("input[type='checkbox']");
this.$primaryCheckbox.on('change', e => this.onPrimaryCheckboxChange(e));
this.$primaryCheckbox.on('change', () => this.onPrimaryCheckboxChange());
}
onPrimaryCheckboxChange(event) {
onPrimaryCheckboxChange() {
this.$namespacesSelect.select2('data', null);
this.$namespaces.toggleClass('hidden', this.$primaryCheckbox.is(':checked'))
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment