diff options
author | Dessalines <tyhou13@gmx.com> | 2020-06-23 21:40:59 -0400 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2020-06-23 21:40:59 -0400 |
commit | b94d38072982081803605f7439aeaa61af335db2 (patch) | |
tree | 93bc7a4b841da9ccc9a8b552f887b4d64f7d84c1 /ui/src/utils.ts | |
parent | 790b944031f9433be765936763d848ffa6e1b496 (diff) |
Adding timeouts to message and delete picture notifications. #834
Diffstat (limited to 'ui/src/utils.ts')
-rw-r--r-- | ui/src/utils.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/utils.ts b/ui/src/utils.ts index bdb9afbd..f01a8494 100644 --- a/ui/src/utils.ts +++ b/ui/src/utils.ts @@ -527,7 +527,7 @@ export function pictrsDeleteToast( backgroundColor: backgroundColor, gravity: 'top', position: 'right', - duration: 0, + duration: 10000, onClick: () => { if (toast) { window.location.replace(deleteUrl); @@ -556,7 +556,7 @@ export function messageToastify( close: true, gravity: 'top', position: 'right', - duration: 0, + duration: 5000, onClick: () => { if (toast) { toast.hideToast(); |