Open igortyra opened 3 years ago
Hi,
I just stumbled upon a similar bug, and fixed it by changing: for (e = 0; -1 == parseInt(currentElement.attr("data-positions")); ) { to: for (e = 0; -1 == parseInt(currentElement.attr("data-positions")) && e in o; ) {
This is on line 483 in jquery-calendar.no-modal.js
In some situations the javascript code hangs into endless loop while trying to position events on the 'day' or 'week' grid. Looks like it depends on dataset. Fast way to reproduce issue (on week view):
the code works without
event5
but hangs with it.