1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

fix: timezone selector

This commit is contained in:
Ferdinand Mütsch 2021-04-25 21:12:36 +02:00
parent b105b0fe1c
commit a64201c93b

View File

@ -632,11 +632,13 @@
const btnImportWakatime = document.querySelector('#btn-import-wakatime') const btnImportWakatime = document.querySelector('#btn-import-wakatime')
const formImportWakatime = document.querySelector('#form-import-wakatime') const formImportWakatime = document.querySelector('#form-import-wakatime')
if (btnImportWakatime) {
btnImportWakatime.addEventListener('click', () => { btnImportWakatime.addEventListener('click', () => {
if (confirm('Are you sure? The import can not be undone.')) { if (confirm('Are you sure? The import can not be undone.')) {
formImportWakatime.submit() formImportWakatime.submit()
} }
}) })
}
// Time zone stuff // Time zone stuff