K
K
kot25662018-02-09 15:05:14
JavaScript
kot2566, 2018-02-09 15:05:14

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

1 answer(s)
A
Alex-1917, 2018-02-09
@alex-1917

dyg. 900 elements per page... which browser will pull it off? no. iPad dies in general.
Yuzai Alex <map>-1917 is talking

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question