aboutsummaryrefslogtreecommitdiff
path: root/bh20simplewebuploader
diff options
context:
space:
mode:
authorPjotr Prins2020-07-12 08:56:03 +0100
committerPjotr Prins2020-07-12 08:56:03 +0100
commit1cefd0fde4e3fb4ccb24953182a67bb367757da5 (patch)
treeb49f7edb40bb534a766d1d5854a6b608e9a000e4 /bh20simplewebuploader
parent247f5b36298441fbf8880381274d3d43d80476bd (diff)
downloadbh20-seq-resource-1cefd0fde4e3fb4ccb24953182a67bb367757da5.tar.gz
bh20-seq-resource-1cefd0fde4e3fb4ccb24953182a67bb367757da5.tar.lz
bh20-seq-resource-1cefd0fde4e3fb4ccb24953182a67bb367757da5.zip
Remove duplicate counter
Diffstat (limited to 'bh20simplewebuploader')
-rw-r--r--bh20simplewebuploader/templates/map.html13
1 files changed, 0 insertions, 13 deletions
diff --git a/bh20simplewebuploader/templates/map.html b/bh20simplewebuploader/templates/map.html
index 6d63c3c..595af0c 100644
--- a/bh20simplewebuploader/templates/map.html
+++ b/bh20simplewebuploader/templates/map.html
@@ -16,19 +16,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>
<!-- Make sure you put this AFTER Leaflet's CSS -->