Commit cd950e44 authored by Michał Woźniak's avatar Michał Woźniak
Browse files

some cleanups -- disabled sites that are not getting any data

parent 411a8c09
......@@ -220,9 +220,9 @@ var siteData = {
"Guatemala": {
"population": 17263239
},
"Guernsey": {
"population": 63026
},
// "Guernsey": {
// "population": 63026
// },
"Guinea": {
"population": 11628972
},
......@@ -277,9 +277,9 @@ var siteData = {
"Japan": {
"population": 126150000
},
"Jersey": {
"population": 106800
},
// "Jersey": {
// "population": 106800
// },
"Jordan": {
"population": 10407793
},
......@@ -397,9 +397,9 @@ var siteData = {
"North Macedonia": {
"population": 2077132
},
"Northern Cyprus": {
"population": 326000
},
// "Northern Cyprus": {
// "population": 326000
// },
"Norway": {
"population": 5367580
},
......@@ -436,9 +436,6 @@ var siteData = {
"Qatar": {
"population": 2641669
},
"Republic of the Congo": {
"population": 5244359
},
"Romania": {
"population": 19401658
},
......@@ -1618,7 +1615,13 @@ document.addEventListener('DOMContentLoaded', (e)=>{
//
/*document.getElementById('site-menu-button-rate').addEventListener('click', (e)=>{
Object.keys(siteData).map((site)=>{
try {
var data = siteData[site].data.slice(-2); return Math.round(((data[1].confirmed / data[0].confirmed) - 1) * 10000) / 100
} catch (e) {
console.log(site)
}
})
document.getElementById('menu-shown').checked = false;
})*/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment