Code refactoring and improvements for the calendar page module.
This commit is contained in:
parent
1ebc50893e
commit
7f1302087a
1 changed files with 3 additions and 3 deletions
|
@ -16,9 +16,9 @@
|
|||
*/
|
||||
App.Pages.Calendar = (function () {
|
||||
/**
|
||||
* Bind the event handlers.
|
||||
* Add the page event listeners.
|
||||
*/
|
||||
function bindEventHandlers() {
|
||||
function addEventListeners() {
|
||||
const $calendarPage = $('#calendar-page');
|
||||
|
||||
$calendarPage.on('click', '#toggle-fullscreen', (event) => {
|
||||
|
@ -114,7 +114,7 @@ App.Pages.Calendar = (function () {
|
|||
App.Utils.CalendarDefaultView.initialize();
|
||||
}
|
||||
|
||||
bindEventHandlers();
|
||||
addEventListeners();
|
||||
}
|
||||
|
||||
document.addEventListener('DOMContentLoaded', initialize);
|
||||
|
|
Loading…
Reference in a new issue