@salesforcedevs/docs-components 0.67.0 → 0.68.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/docs-components",
3
- "version": "0.67.0",
3
+ "version": "0.68.1",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -24,5 +24,5 @@
24
24
  "@types/lodash.orderby": "^4.6.7",
25
25
  "@types/lodash.uniqby": "^4.7.7"
26
26
  },
27
- "gitHead": "187d8abcbea7dd2ec9f0352c3563662c44abbde8"
27
+ "gitHead": "5aa9cb52b70c658e41dbcc89b62baf84e12ce842"
28
28
  }
@@ -204,7 +204,7 @@ export default class AmfReference extends LightningElement {
204
204
  }
205
205
 
206
206
  restoreScroll() {
207
- document.body.scrollTop = document.documentElement.scrollTop = window.history.state.scrollValue;
207
+ document.body.scrollTop = document.documentElement.scrollTop = window.history.state?.scrollValue || 0;
208
208
  }
209
209
 
210
210
  renderedCallback(): void {