aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kabui2020-12-15 14:52:39 +0300
committerGitHub2020-12-15 14:52:39 +0300
commit67ec0db7ef88a4ce49f6f6161bea978674f7123a (patch)
tree96ed04fdc5ca0880c21a6f592d06eede302a7dca
parentd35b334a673f2f3b9238337a02dcf61000cf7192 (diff)
downloadgenenetwork2-67ec0db7ef88a4ce49f6f6161bea978674f7123a.tar.gz
Replace twitter-post-fetcher (#526)
* replace twitter fetcher in templates * add twitter post fetcher to mechanical rob Co-authored-by: BonfaceKilz <bonfacemunyoki@gmail.com>
-rw-r--r--test/requests/link_checker.py1
-rwxr-xr-xwqflask/wqflask/templates/index_page_orig.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/test/requests/link_checker.py b/test/requests/link_checker.py
index 0a371bb8..64707514 100644
--- a/test/requests/link_checker.py
+++ b/test/requests/link_checker.py
@@ -137,6 +137,7 @@ def check_packaged_js_files(args_obj, parser):
"/js/cytoscape-panzoom/cytoscape.js-panzoom.css",
"/js/cytoscape-qtip/cytoscape-qtip.js",
"/css/d3-tip/d3-tip.css",
+ "/js/javascript-twitter-post-fetcher/js/twitterFetcher_min.js",
"/js/DataTables/images/sort_asc_disabled.png",
"/js/DataTables/images/sort_desc_disabled.png",
]
diff --git a/wqflask/wqflask/templates/index_page_orig.html b/wqflask/wqflask/templates/index_page_orig.html
index 13ca52df..7efbdccf 100755
--- a/wqflask/wqflask/templates/index_page_orig.html
+++ b/wqflask/wqflask/templates/index_page_orig.html
@@ -326,7 +326,7 @@
}
</script>
- <script type="text/javascript" src="/twitter/js/twitterFetcher_min.js"></script>
+ <script language="javascript" type="text/javascript" src="{{ url_for('js', filename='javascript-twitter-post-fetcher/js/twitterFetcher_min.js') }}"></script>
<script type="text/javascript">
var configProfile = {