@joyzl/eno 1.2.9 → 1.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -1160,7 +1160,7 @@ function target(event, name, value) {
|
|
1160
1160
|
}
|
1161
1161
|
} else {
|
1162
1162
|
while (element && element !== event.currentTarget) {
|
1163
|
-
if (element.
|
1163
|
+
if (element.hasAttribute(name)) {
|
1164
1164
|
return element.getAttribute(name);
|
1165
1165
|
}
|
1166
1166
|
element = element.parentElement;
|