Wix Code not working when reloading website

Hey there Wixers! I’m finished with the website I was creating :slight_smile: https://diaytech.wixsite.com/goai2

But! when going directly into one of the URLs and/or reloading the pages, then every hidden element shows up and the database connected elements don’t get connected .

https://diaytech.wixsite.com/goai2/portfolio

Could you please look at the site and tell me what’s wrong?

Thank you!

Hello Felipe,

To fix the problem, move let formFactor = wixWindow.formFactor; to the onReady function.

Thank you Ido. I’ve completely removed the interaction with the formFactor (by commenting the code) and the problem persists… :frowning:

What else can we do? I can’t launch this client site with this issue…