aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kabui2020-12-15 14:55:03 +0300
committerGitHub2020-12-15 14:55:03 +0300
commit93ba2a098a349977a8d54a75f7c871205ee2ddb1 (patch)
tree8ff07af760b8436b3b3802b849e9d0e8ad504cb3
parent67ec0db7ef88a4ce49f6f6161bea978674f7123a (diff)
downloadgenenetwork2-93ba2a098a349977a8d54a75f7c871205ee2ddb1.tar.gz
Replace typeahead lib (#527)
* replace typeahead js in templates * add typeahead.bundle.js to mechanical rob * remove duplicate libs in snp_browser.html Co-authored-by: BonfaceKilz <bonfacemunyoki@gmail.com>
-rw-r--r--test/requests/link_checker.py1
-rw-r--r--wqflask/wqflask/templates/snp_browser.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/test/requests/link_checker.py b/test/requests/link_checker.py
index 64707514..a22c2b54 100644
--- a/test/requests/link_checker.py
+++ b/test/requests/link_checker.py
@@ -117,6 +117,7 @@ def check_packaged_js_files(args_obj, parser):
"/js/nvd3/nv.d3.min.css",
"/js/qtip2/jquery.qtip.min.js",
"/js/js_alt/md5.min.js",
+ "/js/typeahead/typeahead.bundle.js",
"/js/underscore-string/underscore.string.min.js",
"/js/js_alt/jstat.min.js",
"/js/js_alt/parsley.min.js",
diff --git a/wqflask/wqflask/templates/snp_browser.html b/wqflask/wqflask/templates/snp_browser.html
index fb564b28..a96b8e3b 100644
--- a/wqflask/wqflask/templates/snp_browser.html
+++ b/wqflask/wqflask/templates/snp_browser.html
@@ -217,7 +217,7 @@
{% block js %}
<script language="javascript" type="text/javascript" src="{{ url_for('js', filename='DataTables/js/jquery.dataTables.js') }}"></script>
<script language="javascript" type="text/javascript" src="{{ url_for('js', filename='DataTablesExtensions/plugins/sorting/natural.js') }}"></script>
- <script language="javascript" type="text/javascript" src="/static/new/js_external/typeahead.bundle.js"></script>
+ <script language="javascript" type="text/javascript" src="{{ url_for('js', filename='typeahead/typeahead.bundle.js') }}"></script>
<script language="javascript" type="text/javascript" src="/static/new/javascript/typeahead_rn6.json"></script>