Answer the question
In order to leave comments, you need to log in
Why does JS slow down on the server?
Trying to make a choice of seats in the theater.
1) I use dragdealer.js for dragging (although the same problem with jquery-ui draggable)
Since a large number of seats (divs) start to slow down when dragging on the server, BUT if you download the page to yourself or run it on local there are no lags.
https://codepen.io/kepo4ka/pen/zRZYzx
Even worse when installed on a wordpress page.
Why such a situation?
(even considering the terrible code, it works fine on the computer)
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