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:
parent
b105b0fe1c
commit
a64201c93b
@ -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')
|
||||||
btnImportWakatime.addEventListener('click', () => {
|
if (btnImportWakatime) {
|
||||||
if (confirm('Are you sure? The import can not be undone.')) {
|
btnImportWakatime.addEventListener('click', () => {
|
||||||
formImportWakatime.submit()
|
if (confirm('Are you sure? The import can not be undone.')) {
|
||||||
}
|
formImportWakatime.submit()
|
||||||
})
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
// Time zone stuff
|
// Time zone stuff
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user