mirror of
https://github.com/go-shiori/shiori.git
synced 2025-02-21 14:33:19 +08:00
Fix delete all not updated
This commit is contained in:
parent
81de2951b9
commit
1dcc663039
1 changed files with 3 additions and 2 deletions
|
@ -367,8 +367,9 @@
|
|||
|
||||
var scrollIdx = smallestIndex === 1 ? 1 : smallestIndex - 1;
|
||||
app.$nextTick(function () {
|
||||
var el = app.$refs['bookmark-' + scrollIdx];
|
||||
if (el) el[0].scrollIntoView();
|
||||
var el = app.$refs['bookmark-' + smallestIndex][0];
|
||||
if (el) el.scrollIntoView();
|
||||
else window.scrollTo(0, 0);
|
||||
});
|
||||
})
|
||||
.catch(function (error) {
|
||||
|
|
Loading…
Reference in a new issue