mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 01:52:22 +03:00
The sticky table header fix must be applied on single dates as well cause the calendar view width might be larger as well.
This commit is contained in:
parent
d4360bef80
commit
3348175b91
1 changed files with 3 additions and 7 deletions
|
@ -56,13 +56,9 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {};
|
||||||
_createView(startDate, endDate);
|
_createView(startDate, endDate);
|
||||||
|
|
||||||
// Horizontal scrolling fix for sticky table headers.
|
// Horizontal scrolling fix for sticky table headers.
|
||||||
if ($(this).val() === 1) {
|
|
||||||
clearInterval(stickyTableHeaderInterval);
|
|
||||||
} else {
|
|
||||||
stickyTableHeaderInterval = setInterval(function() {
|
stickyTableHeaderInterval = setInterval(function() {
|
||||||
$(window).trigger('resize.stickyTableHeaders');
|
$(window).trigger('resize.stickyTableHeaders');
|
||||||
}, 1000);
|
}, 1000);
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
$calendarToolbar.on('click', '#reload-appointments', function() {
|
$calendarToolbar.on('click', '#reload-appointments', function() {
|
||||||
|
|
Loading…
Reference in a new issue