Added event arguments to listeners that didn't have them

This commit is contained in:
Michael H. Potter 2019-05-09 08:33:31 -04:00
parent 3e4c2662ef
commit 6d9c07076a
3 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
// module to control the Tools options (click to edit, to re-geenerate, tp add)
"use strict";
toolsContent.addEventListener("click", function() {
toolsContent.addEventListener("click", function(event) {
if (customization) {tip("Please exit the customization mode first", false, "warning"); return;}
if (event.target.tagName !== "BUTTON") return;
const button = event.target.id;