Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
amk221 committed Sep 5, 2024
1 parent 919c9d6 commit e37fde5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions addon/modifiers/auto-focus.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ import focus from '@zestia/ember-auto-focus/utils/focus';
import { scheduleOnce } from '@ember/runloop';

export default class AutoFocusModifier extends Modifier {
#didSetup = false;
didSetup = false;

modify(element, positional, named) {
if (this.#didSetup) {
if (this.didSetup) {
return;
}

this.#didSetup = true;
this.didSetup = true;

const { disabled } = named;

Expand Down

0 comments on commit e37fde5

Please sign in to comment.