Skip to content

Commit a3931bf

Browse files
thetaPCShaneK
andauthored
Update core/src/components/toggle/toggle.tsx
Co-authored-by: Shane <[email protected]>
1 parent 9d2dd29 commit a3931bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/components/toggle/toggle.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,8 +413,8 @@ export class Toggle implements ComponentInterface {
413413
aria-disabled={disabled ? 'true' : null}
414414
tabindex={disabled ? undefined : 0}
415415
onKeyDown={this.onKeyDown}
416-
onFocus={() => this.onFocus()}
417-
onBlur={() => this.onBlur()}
416+
onFocus={this.onFocus}
417+
onBlur={this.onBlur}
418418
class={createColorClasses(color, {
419419
[mode]: true,
420420
'in-item': hostContext('ion-item', el),

0 commit comments

Comments
 (0)