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> {
|
||||
const success = await super.submit();
|
||||
if (success) {
|
||||
this.location.back();
|
||||
window.setTimeout(() => {
|
||||
this.location.back();
|
||||
}, 200);
|
||||
}
|
||||
return success;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue