web/omnibox: disable input area when processing & reduce timeout
also fixed a typo that broke key spamming protection
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
// transition back to idle after some period of time.
|
||||
const final: DownloadButtonState[] = ['done', 'error'];
|
||||
if (final.includes(state)) {
|
||||
setTimeout(() => changeDownloadButton("idle"), 2500);
|
||||
setTimeout(() => changeDownloadButton("idle"), 1500);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user