We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23dea6d commit 50e1b41Copy full SHA for 50e1b41
src/scripts/hud.js
@@ -1,6 +1,7 @@
1
const elm = document.getElementById('status');
2
-const currentLevelDisplay = document.getElementById('top-right');
3
-const pointsDisplay = currentLevelDisplay.querySelector('.pointHud')
+const hudContainer = document.getElementById('top-right');
+const currentLevelDisplay = hudContainer.querySelector('.levelHud')
4
+const pointsDisplay = hudContainer.querySelector('.pointHud')
5
6
function showMessage(message){
7
if(elm === null)
src/views/comet.pug
@@ -9,7 +9,8 @@ block content
9
#hud
10
#status message
11
#top-left
12
- #top-right Level: 1
+ #top-right
13
+ .levelHud Level: 1
14
.pointHud Points: 0
15
#bottom-left
16
#bottom-right
0 commit comments