On the page there is a button for loading goods. The specificity is that the whole set of goods comes, and not just new ones. Therefore, the insert is used to insert
$(".goods-content").html(data); In opera, the screen stays in place while adding, but in chrome it scrolls (rises) upwards. How to fix (stay in the same place)?
$(window).scrollTop();. In general, you're lying. I checking in chrome does not scroll - Yuri