This commit is contained in:
Yassine Guedidi 2025-03-01 22:13:05 +01:00
parent ee534a2415
commit aa003054a5

View file

@ -262,10 +262,10 @@ const articleScroll = () => {
const toggleScrollDataName = 'toggle-auto'; const toggleScrollDataName = 'toggle-auto';
if ((s + c) > articleElBottom) { if ((s + c) > articleElBottom) {
fixedActionBtn.data(toggleScrollDataName, true); fixedActionBtn.data(toggleScrollDataName, true);
fixedActionBtn.openFAB(); fixedActionBtn.floatingActionButton('open');
} else if (fixedActionBtn.data(toggleScrollDataName) === true) { } else if (fixedActionBtn.data(toggleScrollDataName) === true) {
fixedActionBtn.data(toggleScrollDataName, false); fixedActionBtn.data(toggleScrollDataName, false);
fixedActionBtn.closeFAB(); fixedActionBtn.floatingActionButton('close');
} }
}); });
} }
@ -289,6 +289,7 @@ $(document).ready(() => {
$('.tabs').tabs(); $('.tabs').tabs();
$('.tooltipped').tooltip(); $('.tooltipped').tooltip();
$('.fixed-action-btn').floatingActionButton();
initFilters(); initFilters();
initExport(); initExport();