load canceled: fix 'loading canceled' message not displaying, add 'try again' button to non-embed mode as well

This commit is contained in:
Ilya Kreymer
2020-07-03 17:55:26 -07:00
parent 3e99ec2378
commit 34585550b6
4 changed files with 25 additions and 2 deletions
+1
View File
@@ -228,6 +228,7 @@ You can select a file to upload from the main page by clicking the \'Choose File
<div>
${this.embed ? html`
<a class="button is-warning" @click=${(e) => window.parent.location.reload()}>Try Again</a>` : html`
<a class="button is-warning" @click=${(e) => window.location.reload()}>Try Again</a>
<a href="/" class="button is-warning">Back</a>`}
</div>`;