1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-07-08 12:35:09 +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> {
const success = await super.submit();
if (success) {
this.location.back();
window.setTimeout(() => {
this.location.back();
}, 200);
}
return success;
}