Skip to content

Commit

Permalink
refactor: field_checkbox dom.addClass params (#8309)
Browse files Browse the repository at this point in the history
  • Loading branch information
ishon19 authored Jul 12, 2024
1 parent d355b56 commit f45270e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/field_checkbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export class FieldCheckbox extends Field<CheckboxBool> {
super.initView();

const textElement = this.getTextElement();
dom.addClass(textElement, 'blocklyCheckbox');
dom.addClass(this.fieldGroup_!, 'blocklyCheckboxField');
textElement.style.display = this.value_ ? 'block' : 'none';
}

Expand Down

0 comments on commit f45270e

Please sign in to comment.