mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-22 07:52:29 +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);
|
||||
|
||||
// Horizontal scrolling fix for sticky table headers.
|
||||
if ($(this).val() === 1) {
|
||||
clearInterval(stickyTableHeaderInterval);
|
||||
} else {
|
||||
stickyTableHeaderInterval = setInterval(function() {
|
||||
$(window).trigger('resize.stickyTableHeaders');
|
||||
}, 1000);
|
||||
}
|
||||
stickyTableHeaderInterval = setInterval(function() {
|
||||
$(window).trigger('resize.stickyTableHeaders');
|
||||
}, 1000);
|
||||
});
|
||||
|
||||
$calendarToolbar.on('click', '#reload-appointments', function() {
|
||||
|
|
Loading…
Reference in a new issue