N
N
nsmilyk2019-07-26 09:24:40
AJAX
nsmilyk, 2019-07-26 09:24:40

Why does lazy loading always return the first page of the list?

During the development of the site, a strange incident occurred: it seemed to me that everything was done wisely and correctly, but that's bad luck.
When I want to load a page with new news using a js file, the same ones are loaded instead.
Along with this error, the following pops up in the console:

[Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
send @ vendorae24.js?v=14:1

Actually, you can check it yourself, go to www.inmoment.site and scroll down, the same news will be loaded there. In general, the script works somehow incorrectly, I have already tried everything I know, I ask for the help of knowledgeable people.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Shamanov, 2019-07-26
@SilenceOfWinter

in js you can't pass get data like this

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question