1
0
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:
Kyle Spearrin 2019-11-22 10:09:12 -05:00
parent 0fd5979637
commit bbd32ed79d

View File

@ -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;
} }