mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-08 17:12:25 +03:00
Correct the error formatting
This commit is contained in:
parent
89feea4a00
commit
c9da3c8aab
1 changed files with 2 additions and 2 deletions
|
@ -1444,7 +1444,7 @@ App.Utils.CalendarDefaultView = (function () {
|
|||
break;
|
||||
|
||||
default:
|
||||
throw new Error('Invalid date format setting provided!', vars('date_format'));
|
||||
throw new Error('Invalid date format setting provided: ' + vars('date_format'));
|
||||
}
|
||||
|
||||
// Time formats
|
||||
|
@ -1461,7 +1461,7 @@ App.Utils.CalendarDefaultView = (function () {
|
|||
slotTimeFormat = 'h a';
|
||||
break;
|
||||
default:
|
||||
throw new Error('Invalid time format setting provided!', vars('time_format'));
|
||||
throw new Error('Invalid time format setting provided: ' + vars('time_format'));
|
||||
}
|
||||
|
||||
const initialView = window.innerWidth < 468 ? 'timeGridDay' : 'timeGridWeek';
|
||||
|
|
Loading…
Reference in a new issue