@ecl/vanilla-component-inpage-navigation
Advanced tools
Comparing version 3.0.0-beta.1 to 3.0.0-beta.2
@@ -243,5 +243,6 @@ import Stickyfill from 'stickyfilljs'; | ||
); | ||
const element = currentInpage.childNodes[ | ||
addedNodeIndex - 1 | ||
].cloneNode(true); | ||
const element = | ||
currentInpage.childNodes[addedNodeIndex - 1].cloneNode( | ||
true | ||
); | ||
element.childNodes[0].textContent = addedNode.textContent; | ||
@@ -248,0 +249,0 @@ element.childNodes[0].href = `#${addedNode.id}`; |
@@ -5,3 +5,3 @@ { | ||
"license": "EUPL-1.2", | ||
"version": "3.0.0-beta.1", | ||
"version": "3.0.0-beta.2", | ||
"description": "ECL In-page Navigation", | ||
@@ -13,4 +13,4 @@ "main": "inpage-navigation.js", | ||
"dependencies": { | ||
"@ecl/theme-dev": "^3.0.0-beta.1", | ||
"@ecl/vanilla-layout-grid": "^3.0.0-beta.1", | ||
"@ecl/theme-dev": "^3.0.0-beta.2", | ||
"@ecl/vanilla-layout-grid": "^3.0.0-beta.2", | ||
"gumshoejs": "5.1.2", | ||
@@ -35,3 +35,3 @@ "stickyfilljs": "2.1.0" | ||
], | ||
"gitHead": "cbd6c68e880c649c3567d3ce9cdf595b65fabed2" | ||
"gitHead": "021d345920ae3722a77599b2055d4d4e060573e5" | ||
} |
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
37356
336