Skip to content

Commit 2b65c55

Browse files
fix: remove argument to document.reloadd()
1 parent c9595fa commit 2b65c55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/prefs/prefs.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ export class PrefsComponent {
3232
/** Clear out the session storage */
3333
reset() {
3434
sessionStorage.clear();
35-
document.location.reload(true);
35+
document.location.reload();
3636
}
3737

3838
/** After saving preferences to session storage, reload the entire application */
3939
savePrefs() {
4040
Object.assign(this.appConfig, { restDelay: this.prefs.restDelay }).save();
41-
document.location.reload(true);
41+
document.location.reload();
4242
}
4343
}

0 commit comments

Comments
 (0)