mirror of
https://github.com/wallabag/wallabag.git
synced 2025-03-13 06:32:41 +00:00
Fix FAB
This commit is contained in:
parent
ee534a2415
commit
aa003054a5
1 changed files with 3 additions and 2 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue