aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2023-07-10 15:01:48 +0000
committerzsloan2023-07-10 15:02:02 +0000
commit90ebb0f18ef3f0b1bc397543bfe69335ad18c8dc (patch)
treea2bbf89f5d93b60b4e740cb17ee3b502561f9236 /wqflask
parent5815f22c20f41a36e44eeef014c19f877d339ece (diff)
downloadgenenetwork2-90ebb0f18ef3f0b1bc397543bfe69335ad18c8dc.tar.gz
Fix issue where correlation matrix tables had two IDs, causing things to not work
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/correlation_matrix.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/wqflask/wqflask/templates/correlation_matrix.html b/wqflask/wqflask/templates/correlation_matrix.html
index d392be34..17fd66fa 100644
--- a/wqflask/wqflask/templates/correlation_matrix.html
+++ b/wqflask/wqflask/templates/correlation_matrix.html
@@ -79,7 +79,7 @@
<h2>PCA Traits</h2>
<div style="margin-bottom: 20px; overflow:hidden; width: 450px;">
-<table id="pca_table" class="table-hover table-striped cell-border" id='trait_table' style="float: left;">
+<table class="table-hover table-striped cell-border pca_table" id='trait_table' style="float: left;">
<colgroup>
<col span="1" style="width: 30px;">
<col span="1" style="width: 50px;">
@@ -111,7 +111,7 @@
<h2>Factor Loadings Plot</h2>
<div id="loadings_plot" style="margin-top: 20px; margin-bottom: 20px; width: 980px; border-style: solid; border-width: 1px;"></div>
<h2>Factor Loadings Table</h2>
-<table id="loadings_table" class="table-hover table-striped cell-border" id='trait_table' style="float: left;">
+<table class="table-hover table-striped cell-border loadings_table" id='trait_table' style="float: left;">
<thead>
<tr>
<th>Trait</th>
@@ -161,7 +161,7 @@
<script type="text/javascript" src="/static/new/javascript/search_results.js"></script>
<script>
- $('#pca_table').dataTable( {
+ $('.pca_table').dataTable( {
"columnDefs": [ {
"targets": 0,
"orderable": false
@@ -176,7 +176,7 @@
"orderClasses": true
} );
- $('#loadings_table').dataTable( {
+ $('.loadings_table').dataTable( {
"columnDefs": [ {
"targets": 0,
"orderable": false