Skip to content

Commit ba560a8

Browse files
authored
Fix fullcalendar.io bug that sometimes breaks our upcoming events section (#77)
1 parent 234062d commit ba560a8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

assets/static/lib/fullcalendar-3.5.1/fullcalendar.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17601,6 +17601,7 @@ var ListViewGrid = Grid.extend({
1760117601
// and mutate the latest seg to the be the end.
1760217602
if (
1760317603
!seg.isEnd && !footprint.isAllDay &&
17604+
dayIndex + 1 < dayRanges.length &&
1760417605
footprint.unzonedRange.endMs < dayRanges[dayIndex + 1].startMs + view.nextDayThreshold
1760517606
) {
1760617607
seg.endMs = footprint.unzonedRange.endMs;

templates/home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
{% block bottom %}
2525
<script src="{{ '/static/lib/jquery-3.1.1.min.js'|asseturl }}"></script>
2626
<script src="{{ '/static/lib/moment-with-locales.js'|asseturl }}"></script>
27-
<script src="{{ '/static/lib/fullcalendar-3.5.1/fullcalendar.min.js'|asseturl }}"></script>
27+
<script src="{{ '/static/lib/fullcalendar-3.5.1/fullcalendar.js'|asseturl }}"></script>
2828
<script src="{{ '/static/lib/fullcalendar-3.5.1/locale-all.js'|asseturl }}"></script>
2929
{#
3030
<script src="{{ '/static/calendar-data/events.js'|asseturl }}"></script>

0 commit comments

Comments
 (0)