diff --git a/public/index.html b/public/index.html index 1073797..16e2afe 100644 --- a/public/index.html +++ b/public/index.html @@ -80,7 +80,7 @@ - + diff --git a/public/region-filter.js b/public/region-filter.js index 40eb75f..29f441a 100644 --- a/public/region-filter.js +++ b/public/region-filter.js @@ -90,7 +90,7 @@ if (!_selected) return 'All Regions'; var sel = Array.from(_selected); if (sel.length === 0) return 'All Regions'; - if (sel.length <= 2) return sel.map(function (c) { return _regions[c] || c; }).join(', '); + if (sel.length <= 2) return sel.join(', '); return sel.length + ' Regions'; } @@ -127,7 +127,7 @@ html += ''; codes.forEach(function (code) { - var label = _regions[code] || code; + var label = _regions[code] ? (code + ' - ' + _regions[code]) : code; var active = allSelected || (_selected && _selected.has(code)); html += '';