Start linting with eslint
This commit is contained in:
parent
056acbf397
commit
f9bd128a02
15 changed files with 786 additions and 100 deletions
|
@ -1,8 +1,8 @@
|
|||
document.addEventListener("DOMContentLoaded", () => {
|
||||
let flashButtons = document.querySelectorAll(".notification .delete");
|
||||
const flashButtons = document.querySelectorAll(".notification .delete");
|
||||
|
||||
flashButtons.forEach((button) => {
|
||||
let flash = button.parentNode;
|
||||
const flash = button.parentNode;
|
||||
|
||||
if (flash == null) {
|
||||
console.error(
|
||||
|
|
Reference in a new issue