diff options
author | Pjotr Prins | 2020-07-12 08:57:52 +0100 |
---|---|---|
committer | Pjotr Prins | 2020-07-12 08:57:52 +0100 |
commit | 294155a66332aed19c14fd4f376f7e2c10dfe1c1 (patch) | |
tree | 6d8d8534ca0f289f53de1c191198b1370b1f68bf /bh20simplewebuploader | |
parent | 1cefd0fde4e3fb4ccb24953182a67bb367757da5 (diff) | |
download | bh20-seq-resource-294155a66332aed19c14fd4f376f7e2c10dfe1c1.tar.gz bh20-seq-resource-294155a66332aed19c14fd4f376f7e2c10dfe1c1.tar.lz bh20-seq-resource-294155a66332aed19c14fd4f376f7e2c10dfe1c1.zip |
Remove duplicate counter
Diffstat (limited to 'bh20simplewebuploader')
-rw-r--r-- | bh20simplewebuploader/templates/about.html | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/bh20simplewebuploader/templates/about.html b/bh20simplewebuploader/templates/about.html index 07b6951..4bd238e 100644 --- a/bh20simplewebuploader/templates/about.html +++ b/bh20simplewebuploader/templates/about.html @@ -11,19 +11,6 @@ <script type="text/javascript"> let scriptRoot = {{ request.script_root|tojson|safe }}; // examples - - document.addEventListener("DOMContentLoaded", function(){ - var count = fetch("/api/getCount") - .then((resp) => resp.json()) - .then(function (data) { - count = data["sequences"]; - console.log(count); - span = document.getElementById("Counter"); - txt = document.createTextNode(count); - span.appendChild(txt); - }); - }); - </script> </body> |