@semantic-ui/query
Advanced tools
Comparing version 0.0.38 to 0.0.39
@@ -26,5 +26,5 @@ { | ||
"dependencies": { | ||
"@semantic-ui/utils": "^0.0.38" | ||
"@semantic-ui/utils": "^0.0.39" | ||
}, | ||
"version": "0.0.38" | ||
"version": "0.0.39" | ||
} |
@@ -298,3 +298,3 @@ import { isPlainObject, isString, isArray, isDOM, isFunction, findIndex, inArray, isClient, isObject, each } from '@semantic-ui/utils'; | ||
} | ||
else { | ||
else if(selector) { | ||
return el.closest(selector); | ||
@@ -365,6 +365,10 @@ } | ||
} | ||
else { | ||
else if(targetSelector) { | ||
// keep things simple for most basic uses | ||
target = event.target.closest(targetSelector); | ||
} | ||
else { | ||
// no target selector | ||
target = event.target; | ||
} | ||
@@ -371,0 +375,0 @@ if (target) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
93300
2322
+ Added@semantic-ui/utils@0.0.39(transitive)
- Removed@semantic-ui/utils@0.0.38(transitive)
Updated@semantic-ui/utils@^0.0.39