Skip to content
Snippets Groups Projects
Verified Commit 7f0d45d9 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: id not defined

parent 153842ff
No related branches found
No related tags found
No related merge requests found
...@@ -176,15 +176,15 @@ function initEventHandler() { ...@@ -176,15 +176,15 @@ function initEventHandler() {
let elementID = element.id; let elementID = element.id;
if (id === "") { if (elementID === "") {
elementID = element.getAttribute("name"); elementID = element.getAttribute("name");
} }
if (id === "") { if (elementID === "") {
elementID = element.getAttribute("data-monster-attributes"); elementID = element.getAttribute("data-monster-attributes");
} }
if (id === "") { if (elementID === "") {
elementID = element.innerText.substring(0, 20); elementID = element.innerText.substring(0, 20);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment