Language switching possiple in every tab
app.js - german as fallback language public/javascripts/global.js and map.js - language select possible in every tab views/index.pug - changed order of de / en localse/dev/translation.json - is a copy of de package.json "version": "3.0.3", "date": "2023-04-21 14:00 UTC",
This commit is contained in:
@@ -104,7 +104,7 @@ import { DateTime } from './luxon.min.js'
|
||||
currentTab = event.currentTarget.id
|
||||
if (currentTab === 'maptab') {
|
||||
map.showMap(params, sysparams)
|
||||
document.querySelector('#sellan').style.display = 'inline'
|
||||
// document.querySelector('#sellan').style.display = 'inline'
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
@@ -64,8 +64,6 @@ export async function showMap(params, sysparams) {
|
||||
await loadAll(params)
|
||||
}
|
||||
params.center = [clickedcoords.lat, clickedcoords.lng]
|
||||
// map.setView([clickedcoords.lat, clickedcoords.lng]);
|
||||
document.querySelector('#sellan').style.display = 'none'
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user