Corrected javascript typo with unavailability events (#946).

This commit is contained in:
Alex Tselegidis 2020-12-10 11:31:19 +02:00
parent 9133aeedd6
commit 9409633a5d

View file

@ -1069,7 +1069,7 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {};
var notes = unavailable.notes ? ' - ' + unavailable.notes : ''; var notes = unavailable.notes ? ' - ' + unavailable.notes : '';
if (unavailable.notes && unavailable.notes.length > 30) { if (unavailable.notes && unavailable.notes.length > 30) {
notes = unavilable.notes.substring(0, 30) + '...' notes = unavailable.notes.substring(0, 30) + '...';
} }
var unavailabilityEvent = { var unavailabilityEvent = {