@progressive-development/pd-page 0.1.19 → 0.1.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/PdMenu.js +1 -1
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Progressive development page helper, teaser, menu, footer.",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "author": "PD Progressive Development",
6
- "version": "0.1.19",
6
+ "version": "0.1.20",
7
7
  "main": "index.js",
8
8
  "module": "index.js",
9
9
  "scripts": {
package/src/PdMenu.js CHANGED
@@ -319,7 +319,7 @@ export class PdMenu extends LitElement {
319
319
  const rect = el.getBoundingClientRect();
320
320
  // https://www.mediaevent.de/javascript/scroll.html
321
321
  window.scrollBy({
322
- top: rect.top - (this.teaserClosed ? this.scrollFix : (350 + this.scrollFix),
322
+ top: rect.top - (this.teaserClosed ? this.scrollFix : (350 + this.scrollFix)),
323
323
  left: 0,
324
324
  behavior: 'smooth',
325
325
  });