This commit is contained in:
Bkk1234 committed 2026-09-23 00:53:14 +07:00
1 parent 4ac51969e2
commit d198430310
10 files changed
+2951 -308

No files matched your search

+5 -1
View File
@@ -86,7 +86,11 @@
if (stationHint) stationHint.innerHTML = tr('home.stationCount', { n: list.length }) + ' ' + province;
}
var prefix = tr('home.provincePrefix');
if (heroProvince) heroProvince.textContent = (prefix ? prefix + ' ' : '') + province;
// กรุงเทพมหานครเป็นเขตปกครองพิเศษ ไม่ใช่ "จังหวัด" → ไม่เติมคำนำหน้า
var label = (prefix && province !== 'กรุงเทพมหานคร')
? prefix + ' ' + province
: province;
if (heroProvince) heroProvince.textContent = label;
}
provinceSelect.addEventListener('change', function () {