diff options
-rw-r--r-- | wqflask/wqflask/templates/mapping_results.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/mapping_results.html b/wqflask/wqflask/templates/mapping_results.html index 8422b1d2..0decbb54 100644 --- a/wqflask/wqflask/templates/mapping_results.html +++ b/wqflask/wqflask/templates/mapping_results.html @@ -65,7 +65,7 @@ {% endif %} <br> <br> - <a href="javascript:export_mapping_results();" target="_blank" >Download Full Results</a> + <a id="export_mapping_results" href="#" target="_blank" >Download Full Results</a> </div> <div id="gn1_map_options" class="col-xs-5" style="outline: 3px double #AAAAAA; padding: 10px; margin: 10px;"> <div class="col-xs-8" style="padding: 0px;"> @@ -514,6 +514,8 @@ return $('#marker_regression_form').submit(); } + $('#export_mapping_results').click(export_mapping_results); + $('#browser_tab').click(function() { $('#gn1_map_options').css("display", "none") }) |