Answer the question
In order to leave comments, you need to log in
Why is the correct block height immediately considered?
There is a script that more or less replaces Masonry, it just calculates the height of the blocks at certain resolutions and gives the browser what it needs, however, a bug was noticed, if you go to the page for the first time - then it does not do the calculations when you revisit the pages or click on the photo - works as it should
. I give the original site, because for some reason everything works on the codepen, I know that there may be incompatibilities, but how to avoid them and fix the code without spending a lot of time?
Url sbu-73.ru
sbu-73.ru/wp-content/themes/sbu/js/work.js
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question