Skip to content

Commit

Permalink
Fix call to timer
Browse files Browse the repository at this point in the history
  • Loading branch information
otacke committed Jan 5, 2024
1 parent 22441f9 commit f1a0fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/components/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export default class Main {
*/
hide() {
this.map.hide();
this.timer.pause();
this.timer?.pause();

this.contentDOM.classList.add('display-none');
}
Expand Down

0 comments on commit f1a0fc4

Please sign in to comment.