Skip to content

Commit

Permalink
don't think timeout is needed here
Browse files Browse the repository at this point in the history
  • Loading branch information
raman325 committed Oct 14, 2023
1 parent 274706c commit a55021e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class DialogZWaveJSHardResetController extends LitElement {
fireEvent(this, "dialog-closed", { dialog: this.localName });
if (this._done) {
this._done = false;
setTimeout(() => history.back(), 0);
history.back();
}
}

Expand Down

0 comments on commit a55021e

Please sign in to comment.