mirror of
https://github.com/danog/CodiceFiscaleJS.git
synced 2024-11-26 20:14:55 +01:00
Corretto ordinamento delle province
This commit is contained in:
parent
120917d8d8
commit
d4e01a476a
2
dist/codice.fiscale.amd.js
vendored
2
dist/codice.fiscale.amd.js
vendored
File diff suppressed because one or more lines are too long
2
dist/codice.fiscale.commonjs2.js
vendored
2
dist/codice.fiscale.commonjs2.js
vendored
File diff suppressed because one or more lines are too long
2
dist/codice.fiscale.umd.js
vendored
2
dist/codice.fiscale.umd.js
vendored
File diff suppressed because one or more lines are too long
2
dist/codice.fiscale.var.js
vendored
2
dist/codice.fiscale.var.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -51,8 +51,7 @@ export function birthplaceFields (provinceSelector, birthplaceSelector) {
|
||||
optGroupEE.label = '-----------'
|
||||
provinceSelect.appendChild(optGroupProv)
|
||||
provinceSelect.appendChild(optGroupEE)
|
||||
|
||||
Object.keys(PROVINCE).sort(function(a,b){return PROVINCE[a]-PROVINCE[b]}).forEach((code, i) => {
|
||||
Object.keys(PROVINCE).sort(function(a,b){return PROVINCE[a]>PROVINCE[b] ? 1 : -1}).forEach((code, i) => {
|
||||
const name = PROVINCE[code]
|
||||
const option = document.createElement('option')
|
||||
option.value = code
|
||||
|
Loading…
Reference in New Issue
Block a user