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
1 changed files with 3 additions and 1 deletions

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