aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/requests/link_checker.py2
-rw-r--r--wqflask/wqflask/templates/correlation_matrix.html2
2 files changed, 3 insertions, 1 deletions
diff --git a/test/requests/link_checker.py b/test/requests/link_checker.py
index 12057203..d29e5965 100644
--- a/test/requests/link_checker.py
+++ b/test/requests/link_checker.py
@@ -97,6 +97,8 @@ def check_packaged_js_files(args_obj, parser):
# Datatables plugins:
"/DataTablesExtensions/plugins/sorting/natural.js",
"/DataTablesExtensions/plugins/sorting/scientific.js",
+ # Other js libraries
+ "/chroma/chroma.min.js"
]
print("Checking links")
diff --git a/wqflask/wqflask/templates/correlation_matrix.html b/wqflask/wqflask/templates/correlation_matrix.html
index 4e17a0b2..5659dca7 100644
--- a/wqflask/wqflask/templates/correlation_matrix.html
+++ b/wqflask/wqflask/templates/correlation_matrix.html
@@ -132,7 +132,7 @@
<script language="javascript" type="text/javascript" src="/static/packages/underscore/underscore-min.js"></script>
<script language="javascript" type="text/javascript" src="/static/new/js_external/md5.min.js"></script>
<script type="text/javascript" src="/static/new/javascript/panelutil.js"></script>
- <script language="javascript" type="text/javascript" src="/static/new/js_external/chroma.js"></script>
+ <script language="javascript" type="text/javascript" src="{{ url_for('js', filename='chroma/chroma.min.js') }}"></script>
<script language="javascript" type="text/javascript" src="/static/new/javascript/loadings_plot.js"></script>
<script type="text/javascript" src="/static/new/javascript/create_corr_matrix.js"></script>
<script language="javascript" type="text/javascript" src="{{ url_for('js', filename='DataTables/js/jquery.dataTables.min.js') }}"></script>