Answer the question
In order to leave comments, you need to log in
How to remove looping in a script?
There is a calendar library. Everything seemed to be debugged, but there is one strange bug - when switching to an event (when opening the date page), an unknown error occurs and a cycle begins that does not stop. It does not seem to affect the operation of the site, but the client most likely can hang the computer. How to fix a bug? Those. force the cycle to break or prevent it from occurring?
Page addresstyts For an error to occur, double-click on the event. Error occurs in IE 11
Answer the question
In order to leave comments, you need to log in
If the error is only in IE11, then the easiest way is to add a browser definition in IE11, for example, on the second click do return false
. This is a risky option and rather clumsy. Not sure if it will work.
It is best to cancel the event cross-browser on the second click.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question