aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2021-09-20 09:20:44 +0300
committerFrederick Muriuki Muriithi2021-09-20 09:20:44 +0300
commitf1876d4d8da5c973375fc398fedaa12825a0b780 (patch)
treedcf1fe3c2b0879a3cbebb63dba006a2f5f0ef062 /wqflask
parentcfe0de277021c41eedeb65ec7f1560ac6d67ad0a (diff)
downloadgenenetwork2-f1876d4d8da5c973375fc398fedaa12825a0b780.tar.gz
Prevent the default submit action
Issue: https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi * Prevent the default submit action.
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/collections/view.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/wqflask/wqflask/templates/collections/view.html b/wqflask/wqflask/templates/collections/view.html
index 0578460d..51b96e10 100644
--- a/wqflask/wqflask/templates/collections/view.html
+++ b/wqflask/wqflask/templates/collections/view.html
@@ -257,6 +257,10 @@
make_default();
});
+ $("#heatmaps_form").submit(function(e) {
+ e.preventDefault();
+ });
+
$("#clustered-heatmap").on("click", function() {
heatmap_url = $(this).attr("data-url")
console.log("heatmap url:", heatmap_url)