@caweb/framework 1.9.6 → 1.9.7

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": "@caweb/framework",
3
- "version": "1.9.6",
3
+ "version": "1.9.7",
4
4
  "description": "Official CAWebPublishing Framework frontend toolkit",
5
5
  "author": "CAWebPublishing",
6
6
  "homepage": "https://github.com/CAWebPublishing/framework#readme",
@@ -88,7 +88,7 @@ window.addEventListener('DOMContentLoaded', () => {
88
88
  });
89
89
 
90
90
  // for each element with an id we add the scroll-margin-top
91
- const updateScrollMarginTop = (element) => {
91
+ const updateScrollMarginTop = (/** @type Element */ element) => {
92
92
  if( element instanceof HTMLElement ){
93
93
  let scrollMarginHeight = header.clientHeight + topOffset;
94
94