mirror of
https://github.com/wallabag/wallabag.git
synced 2025-03-13 14:42:39 +00:00
Merge pull request #8043 from wallabag/fix-fab
Fix Floating Action Button
This commit is contained in:
commit
f1ccc298ec
1 changed files with 3 additions and 2 deletions
|
@ -262,10 +262,10 @@ const articleScroll = () => {
|
|||
const toggleScrollDataName = 'toggle-auto';
|
||||
if ((s + c) > articleElBottom) {
|
||||
fixedActionBtn.data(toggleScrollDataName, true);
|
||||
fixedActionBtn.openFAB();
|
||||
fixedActionBtn.floatingActionButton('open');
|
||||
} else if (fixedActionBtn.data(toggleScrollDataName) === true) {
|
||||
fixedActionBtn.data(toggleScrollDataName, false);
|
||||
fixedActionBtn.closeFAB();
|
||||
fixedActionBtn.floatingActionButton('close');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -289,6 +289,7 @@ $(document).ready(() => {
|
|||
|
||||
$('.tabs').tabs();
|
||||
$('.tooltipped').tooltip();
|
||||
$('.fixed-action-btn').floatingActionButton();
|
||||
|
||||
initFilters();
|
||||
initExport();
|
||||
|
|
Loading…
Reference in a new issue