diff options
author | Andrea Lepori <alepori@student.ethz.ch> | 2020-08-29 15:10:48 +0200 |
---|---|---|
committer | Andrea Lepori <alepori@student.ethz.ch> | 2020-08-29 15:10:48 +0200 |
commit | 7d81356adeca031173efad5edb8390203e3d588c (patch) | |
tree | d87a43cf3fb080d3f4daa112b11039b9e66e1129 /server/templates | |
parent | remove delay for js to load (diff) | |
download | scout-subs-7d81356adeca031173efad5edb8390203e3d588c.tar.gz scout-subs-7d81356adeca031173efad5edb8390203e3d588c.zip |
check when page finished loading to download
Diffstat (limited to '')
-rw-r--r-- | server/templates/server/download_doc.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/templates/server/download_doc.html b/server/templates/server/download_doc.html index 9fe106e..35cbb13 100644 --- a/server/templates/server/download_doc.html +++ b/server/templates/server/download_doc.html @@ -275,4 +275,9 @@ </main> </body> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script> +<script> + setTimeout(function(){ + window.status = "done"; +}, 2000); +</script> </html>
\ No newline at end of file |