mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-06 05:28:51 +02:00
timeout of 200 ms before going back after share
This commit is contained in:
parent
0fd5979637
commit
bbd32ed79d
@ -41,7 +41,9 @@ export class ShareComponent extends BaseShareComponent {
|
|||||||
async submit(): Promise<boolean> {
|
async submit(): Promise<boolean> {
|
||||||
const success = await super.submit();
|
const success = await super.submit();
|
||||||
if (success) {
|
if (success) {
|
||||||
this.location.back();
|
window.setTimeout(() => {
|
||||||
|
this.location.back();
|
||||||
|
}, 200);
|
||||||
}
|
}
|
||||||
return success;
|
return success;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user