Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Website not loading CSS after refresh in Chrome

So there is this site-> http://www.raudsilla.ee

This problem occurs only in Chrome- whenever you press refresh the page loses its CSS. Weird thing is that if you look the code of both- after and before refresh, they look exactly the same. And again, only happens in chrome.

I have tried quite may things, so far no luck... I wouldn't like to rule out anything at the moment, so any help appreciated.

like image 487
Karlfromtheisland Avatar asked Dec 09 '22 16:12

Karlfromtheisland


1 Answers

The browser is outputting javascript errors, if you check the code, you're calling jQuery's document ready before the script is loaded, as it says, "$ is not defined".

After fixing the existing javascript error, it should load correctly.

like image 89
Daniel T Avatar answered Dec 11 '22 05:12

Daniel T