diff --git a/html/analyze.html b/html/analyze.html
index a5d7cfaa..5eeea44d 100644
--- a/html/analyze.html
+++ b/html/analyze.html
@@ -149,6 +149,7 @@
Level Data
let colorList = Object.keys(res.colors)
let portals = res.portals.split(", ").map(x => x.split(" "))
+let coins = res.coins.split(", ").map(x => x.split(" "))
function commafy(num) { return (+num || 0).toString().replace(/(\d)(?=(\d\d\d)+$)/g, "$1,") }
@@ -196,6 +197,14 @@ Level Data
})
}
+ coins.forEach(x => {
+ if (!x || x[0] == "") {
+ $('#coinText').remove()
+ $('#coins').remove()
+ }
+ else $('#coins').append(`
${x[1]}
`)
+ })
+
triggerList.forEach(x => {
if (x == "total") $('#triggerText').text(`Triggers (${commafy(res.triggers[x])})`)
else $('#triggers').append(`
x${commafy(res.triggers[x])}
`)
diff --git a/html/home.html b/html/home.html
index 99ed630f..b882e708 100644
--- a/html/home.html
+++ b/html/home.html
@@ -54,13 +54,13 @@ Note
|
|
-
+
|
@@ -77,7 +77,7 @@ Note
-

+
diff --git a/index.js b/index.js
index 019a5f75..dc71880a 100644
--- a/index.js
+++ b/index.js
@@ -246,9 +246,9 @@ app.get("/", function(req, res) {
html = html.replace('id="dl" style="display: none', 'style="display: block')
.replace('No active daily level!', '[Blocked by RobTop]')
}
- if (html.includes('menuDisabled" src="../assets/category-weekly')) { // if weekly disabled, replace with featured
+ if (html.includes('menuDisabled" src="../assets/category-weekly')) { // if weekly disabled, replace with hall of fame
html = html.replace('block" id="menu_weekly', 'none" id="menu_weekly')
- .replace('none" id="menu_featured', 'block" id="menu_featured')
+ .replace('none" id="menu_hof', 'block" id="menu_hof')
}
return res.status(200).send(html)
})