aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kabui2020-12-07 18:26:34 +0300
committerAlexander Kabui2020-12-07 18:26:34 +0300
commit9dd90c9966232b3d35efe9a14e939bcb13e334d3 (patch)
tree49510541ac346d80fd0a11e00fc797cd2850f678
parent3427b508af37c56baefa55a7cb3cce4821ecfd42 (diff)
downloadgenenetwork2-9dd90c9966232b3d35efe9a14e939bcb13e334d3.tar.gz
replace bootstrap js
-rw-r--r--wqflask/wqflask/templates/base.html2
-rw-r--r--wqflask/wqflask/templates/loading.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/wqflask/templates/base.html b/wqflask/wqflask/templates/base.html
index acb8d309..bfa95805 100644
--- a/wqflask/wqflask/templates/base.html
+++ b/wqflask/wqflask/templates/base.html
@@ -240,7 +240,7 @@
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
- <script src="/static/packages/bootstrap/js/bootstrap.min.js"></script>
+ <script src="{{ url_for('js', filename='bootstrap/js/bootstrap.min.js') }}" type="text/javascript"></script>
<script>
//http://stackoverflow.com/questions/11521763/bootstrap-scrollspy-not-working
var $window = $(window)
diff --git a/wqflask/wqflask/templates/loading.html b/wqflask/wqflask/templates/loading.html
index 53142fec..1716b095 100644
--- a/wqflask/wqflask/templates/loading.html
+++ b/wqflask/wqflask/templates/loading.html
@@ -40,7 +40,7 @@
</div>
</form>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
-<script src="/static/packages/bootstrap/js/bootstrap.min.js"></script>
+ <script src="{{ url_for('js', filename='bootstrap/js/bootstrap.min.js') }}" type="text/javascript"></script>
<script type="text/javascript">
$("#loading_form").attr("action", "{{ start_vars.form_url }}");