mirror of
https://github.com/mjl-/mox.git
synced 2025-06-28 09:38:15 +03:00
ensure there is a space between active requests mentioned in the status bar at the top
This commit is contained in:
parent
28fae96a9b
commit
6e391c3be0
@ -1680,7 +1680,7 @@ let statusElem;
|
|||||||
const withStatus = async (action, promise, disablable, noAlert) => {
|
const withStatus = async (action, promise, disablable, noAlert) => {
|
||||||
let elem;
|
let elem;
|
||||||
let id = window.setTimeout(() => {
|
let id = window.setTimeout(() => {
|
||||||
elem = dom.span(action + '...');
|
elem = dom.span(action + '... ');
|
||||||
statusElem.appendChild(elem);
|
statusElem.appendChild(elem);
|
||||||
id = 0;
|
id = 0;
|
||||||
}, 1000);
|
}, 1000);
|
||||||
|
@ -761,7 +761,7 @@ let statusElem: HTMLElement
|
|||||||
const withStatus = async <T>(action: string, promise: Promise<T>, disablable?: Disablable, noAlert?: boolean): Promise<T> => {
|
const withStatus = async <T>(action: string, promise: Promise<T>, disablable?: Disablable, noAlert?: boolean): Promise<T> => {
|
||||||
let elem: HTMLElement | undefined
|
let elem: HTMLElement | undefined
|
||||||
let id = window.setTimeout(() => {
|
let id = window.setTimeout(() => {
|
||||||
elem = dom.span(action+'...')
|
elem = dom.span(action+'... ')
|
||||||
statusElem.appendChild(elem)
|
statusElem.appendChild(elem)
|
||||||
id = 0
|
id = 0
|
||||||
}, 1000)
|
}, 1000)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user