mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-23 00:06:17 -04:00
More test tweaking
This commit is contained in:
parent
ee77e0a1e4
commit
0026d77b7b
2 changed files with 7 additions and 3 deletions
|
@ -46,6 +46,8 @@ class App {
|
|||
this.appLoaded = false;
|
||||
this.workerLoaded = false;
|
||||
this.waitersLoaded = false;
|
||||
|
||||
this.snackbars = [];
|
||||
}
|
||||
|
||||
|
||||
|
@ -708,14 +710,14 @@ class App {
|
|||
log.info("[" + time.toLocaleString() + "] " + str);
|
||||
if (silent) return;
|
||||
|
||||
this.currentSnackbar = $.snackbar({
|
||||
this.snackbars.push($.snackbar({
|
||||
content: str,
|
||||
timeout: timeout,
|
||||
htmlAllowed: true,
|
||||
onClose: () => {
|
||||
this.currentSnackbar.remove();
|
||||
this.snackbars.shift().remove();
|
||||
}
|
||||
});
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue