Remove footer position adjustments (not needed any more)

This commit is contained in:
Alex Tselegidis 2022-12-21 19:18:35 +01:00
parent f23c9aad49
commit d19e8a3f84
1 changed files with 0 additions and 12 deletions

View File

@ -818,7 +818,6 @@ App.Utils.CalendarDefaultView = (function () {
'function': undoFunction
}
]);
$footer.css('position', 'static'); // Footer position fix.
// Update the event data for later use.
info.event.setProp('data', info.event.extendedProps.data);
@ -863,8 +862,6 @@ App.Utils.CalendarDefaultView = (function () {
}
]);
$footer.css('position', 'static'); // Footer position fix.
// Update the event data for later use.
info.event.setProp('data', info.event.extendedProps.data);
};
@ -974,8 +971,6 @@ App.Utils.CalendarDefaultView = (function () {
'function': undoFunction
}
]);
$footer.css('position', 'static'); // Footer position fix.
};
// Update appointment data.
@ -1017,8 +1012,6 @@ App.Utils.CalendarDefaultView = (function () {
function: undoFunction
}
]);
$footer.css('position', 'static'); // Footer position fix.
};
App.Http.Calendar.saveUnavailability(unavailability, successCallback);
@ -1734,11 +1727,6 @@ App.Utils.CalendarDefaultView = (function () {
$('#calendar-actions button').prop('disabled', true);
}
// Fine tune the footer's position only for this page.
if (window.innerHeight < 700) {
$footer.css('position', 'static');
}
// Automatically refresh the calendar page every 10 seconds (without loading animation).
setInterval(() => {
if ($('.popover').length) {