1
0
Fork 0

Remove redundant semicolons

This commit is contained in:
Krzysztof Sikorski 2021-11-07 20:25:36 +01:00
parent 3beeeb4c5f
commit 3dffd42ba1
Signed by: krzysztof-sikorski
GPG Key ID: 4EB564BD08FE8476
2 changed files with 5 additions and 5 deletions

View File

@ -1,10 +1,10 @@
const getOptionsForm = () => document.getElementById('optionsForm');
const getStorage = () => browser.storage.sync;
const getOptionsForm = () => document.getElementById('optionsForm')
const getStorage = () => browser.storage.sync
const saveForm = event => {
event.preventDefault()
const optionsForm = getOptionsForm();
const optionsForm = getOptionsForm()
const userAccessToken = optionsForm.elements['userAccessToken'].value
const trackerSubmitUrl = optionsForm.elements['trackerSubmitUrl'].value
@ -15,7 +15,7 @@ const saveForm = event => {
window.alert(message)
}
)
};
}
const initForm = () => {
const optionsForm = getOptionsForm()
@ -36,6 +36,6 @@ const initForm = () => {
window.alert(message)
}
)
};
}
document.addEventListener('DOMContentLoaded', initForm)