mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 01:52:22 +03:00
Update exposed calendar page methods
This commit is contained in:
parent
08998f3a4a
commit
0e766419f4
1 changed files with 4 additions and 2 deletions
|
@ -17,6 +17,8 @@
|
|||
App.Pages.Calendar = (function () {
|
||||
const $insertWorkingPlanException = $('#insert-working-plan-exception');
|
||||
|
||||
const moment = window.moment;
|
||||
|
||||
/**
|
||||
* Add the page event listeners.
|
||||
*/
|
||||
|
@ -150,13 +152,13 @@ App.Pages.Calendar = (function () {
|
|||
App.Utils.CalendarDefaultView.initialize();
|
||||
}
|
||||
|
||||
addEventListeners();
|
||||
App.Pages.Calendar.addEventListeners();
|
||||
}
|
||||
|
||||
document.addEventListener('DOMContentLoaded', initialize);
|
||||
|
||||
return {
|
||||
initialize,
|
||||
addEventListeners,
|
||||
getSelectionEndDate,
|
||||
};
|
||||
})();
|
||||
|
|
Loading…
Reference in a new issue