Commit b234b688 authored by Sven Franck's avatar Sven Franck

fix: currentTarget only used when target is not available

parent 636e702a
......@@ -8969,7 +8969,9 @@
}
// map
action = e.target.getAttribute("data-action");
fallback = e.currentTarget.getAttribute("data-action");
if (!action) {
fallback = e.currentTarget.getAttribute("data-action");
}
handler = map.actions[fallback || action];
if (fallback || action) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment