Skip to content

Commit

Permalink
commit code accidentally reverted
Browse files Browse the repository at this point in the history
  • Loading branch information
cliffordvickrey committed Oct 14, 2019
1 parent 08587d6 commit 8c54ee1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions assets/src/infrastructure/ViewModel.ts
Expand Up @@ -526,6 +526,12 @@ export class ViewModel {

let alertContainer = document.getElementById("app-alert-container");
alertContainer.innerHTML = html;

setTimeout(() => window.scroll({
top: 0,
left: 0,
behavior: "smooth"
}), 100);
}

public clearAlerts(): void {
Expand Down

0 comments on commit 8c54ee1

Please sign in to comment.