circle-ihk
Advanced tools
Comparing version 1.0.11 to 1.0.12
@@ -15,5 +15,11 @@ import each from './each'; | ||
each(contentClone.getElementsByTagName('img'), (item) => { | ||
const target = item._mirrorElement && item._mirrorElement._mirrorElement | ||
? item._mirrorElement._mirrorElement | ||
: item; | ||
let target = item; | ||
if (item._mirrorElement) { | ||
if (isElement(item._mirrorElement)) { | ||
target = item._mirrorElement; | ||
} | ||
else if (item._mirrorElement._mirrorElement) { | ||
target = item._mirrorElement._mirrorElement; | ||
} | ||
} | ||
const attrToRemove = []; | ||
@@ -20,0 +26,0 @@ each(item.attributes, (attribute) => { |
{ | ||
"name": "circle-ihk", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Circle Reader Component Library", |
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
50428
1465