A
A
aslanu2019-01-27 09:33:11
css
aslanu, 2019-01-27 09:33:11

Website displaying incorrectly in Chrome?

Family tree site, lines drawn on canvas. Everything works fine on firefox. When first loaded in Chrome, the lines do not match the blocks, but it is enough to reload the page and everything falls into place. In the developer tools, in the Network, if you activate Disable cach, then the site remains crooked even after a reboot. $(window).load(function(){ }) added, maybe it doesn't work?!
on images display with Disable cach enabled and disabled
5c4d5047f3361595418300.png5c4d50666fe11597474114.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
RMate, 2019-01-27
@RMate

There is a suspicion that your script is working before the page is loaded. In the case of a reload, the DOM is loaded from the cache, and the script is already executed according to the home. In the case of cache deactivation, we return to the first point.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question