@nrk/core-docs
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -159,3 +159,3 @@ import 'raf/polyfill' // Fixes React | ||
for (let el = event.target; el; el = el.parentElement) { | ||
if (el.hasAttribute('aria-controls')) { | ||
if (el.hash && el.hasAttribute('aria-controls')) { | ||
event.preventDefault() | ||
@@ -162,0 +162,0 @@ window.history.pushState({}, document.title, el.href) |
@@ -6,3 +6,3 @@ { | ||
"author": "NRK <opensource@nrk.no> (https://www.nrk.no/)", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"license": "MIT", | ||
@@ -9,0 +9,0 @@ "scripts": { |
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
22335