@brandocms/jupiter 3.48.0 → 3.48.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": "@brandocms/jupiter",
3
- "version": "3.48.0",
3
+ "version": "3.48.1",
4
4
  "description": "Frontend helpers.",
5
5
  "author": "Univers/Twined",
6
6
  "license": "UNLICENSED",
@@ -31,6 +31,10 @@ window.onpageshow = event => {
31
31
  const $nav = Dom.find('header[data-nav]')
32
32
  gsap.set($nav, { clearProps: 'opacity' })
33
33
 
34
+ // check that main is visible
35
+ const $main = Dom.find('main')
36
+ gsap.set($main, { clearProps: 'opacity' })
37
+
34
38
  // check that footer is visible
35
39
  const $footer = Dom.find('footer')
36
40
  gsap.set($footer, { clearProps: 'opacity' })