diff --git a/src/assets/js/backend_calendar_table_view.js b/src/assets/js/backend_calendar_table_view.js index 2f0a8d57..a5c1747a 100644 --- a/src/assets/js/backend_calendar_table_view.js +++ b/src/assets/js/backend_calendar_table_view.js @@ -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() {