Compare commits
No commits in common. "126f563a078ae5154c59eed4ba7ac693f5d16f34" and "ac07420ef1794c0c881399e5bc795449b761b0d9" have entirely different histories.
126f563a07
...
ac07420ef1
@ -127,10 +127,7 @@ class BackupPage {
|
||||
if (refreshBtn.classList.contains('is-refreshing')) return;
|
||||
refreshBtn.classList.add('is-refreshing');
|
||||
const done = () => refreshBtn.classList.remove('is-refreshing');
|
||||
// Hold the spin for a beat even when the refetch is instant (local
|
||||
// data) so the click always registers as a visible pulse.
|
||||
const minSpin = new Promise((r) => setTimeout(r, 450));
|
||||
Promise.all([this.refreshAll().then(() => this.render()), minSpin]).then(done, done);
|
||||
this.refreshAll().then(() => this.render()).then(done, done);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user