Skip to content

Commit

Permalink
Merge pull request #9 from nalbam/main
Browse files Browse the repository at this point in the history
add lastlap
  • Loading branch information
nalbam authored Oct 8, 2023
2 parents 7f4ade4 + 9ce24a0 commit 9dadb97
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions public/timer.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ class Timer {
this.reset();

this.bestlap.innerText = '';
this.lastlap.innerText = '';
while (this.results.lastChild) {
this.results.removeChild(this.results.lastChild);
}
Expand Down
3 changes: 0 additions & 3 deletions views/timer.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
<meta charset="utf-8">
<title>DeepRacer Timer</title>
<link rel="stylesheet" href="/timer.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap');
</style>
</head>

<body>
Expand Down

0 comments on commit 9dadb97

Please sign in to comment.