555
This commit is contained in:
1 parent
4ac51969e2
commit
d198430310
10 files changed
+2951
-308
No files matched your search
@@ -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 () {
|
||||
|
||||
Reference in new issue
Block a user