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
1 changed files with 1 additions and 1 deletions

View File

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