Address linting issues

This commit is contained in:
mark
2023-01-02 08:30:39 +01:00
parent f31f67bc38
commit fc98cb27cb
7 changed files with 8 additions and 5 deletions

View File

@@ -3,8 +3,8 @@ const toastTrigger = document.getElementById('toastButton')
const toastLiveExample = document.getElementById('toastMessage')
if (toastTrigger) {
toastTrigger.addEventListener('click', () => {
// eslint-disable-next-line no-undef
const toast = new bootstrap.Toast(toastLiveExample)
toast.show()
})
}