mp-design-system 1.2.34 → 1.2.35
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/build/js/app.js +1 -1
- package/dist/build/js/app.js.map +1 -1
- package/dist/build/scss/main.css +1 -1
- package/dist/build/scss/main.css.map +1 -1
- package/package.json +1 -1
- package/src/_includes/components/internal-nav/internal-nav.config.js +1 -1
- package/src/_includes/components/internal-nav/internal-nav.scss +2 -2
- package/src/assets/js/imports/internal-nav.js +1 -1
- package/src/assets/js/imports/scroll-spy.js +1 -1
- package/src/prototype/range.njk +1 -1
package/package.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
function ScrollSpy() {
|
2
|
-
const internalNav = document.querySelector('.c-internal-nav');
|
2
|
+
const internalNav = document.querySelector('.c-internal-nav--sticky');
|
3
3
|
const internalNavHeight = internalNav ? internalNav.offsetHeight : 0;
|
4
4
|
|
5
5
|
const spies = Array.from(document.querySelectorAll('.c-scroll-spy'));
|