mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 10:02:33 +03:00
Update exposed calendar page methods
This commit is contained in:
parent
1fbe17aade
commit
0041e29ec7
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