aboutsummaryrefslogtreecommitdiff
path: root/js/tests/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'js/tests/index.html')
-rw-r--r--js/tests/index.html14
1 files changed, 1 insertions, 13 deletions
diff --git a/js/tests/index.html b/js/tests/index.html
index 37c1c2b27..99acd4ad4 100644
--- a/js/tests/index.html
+++ b/js/tests/index.html
@@ -6,19 +6,7 @@
<title>Bootstrap Plugin Test Suite</title>
<!-- jQuery -->
- <script>
- (function () {
- var path = '../../site/docs/4.2/assets/js/vendor/jquery-slim.min.js'
- // get jquery param from the query string.
- var jQueryVersion = location.search.match(/[?&]jquery=(.*?)(?=&|$)/)
-
- // If a version was specified, use that version from jQuery CDN
- if (jQueryVersion) {
- path = 'https://code.jquery.com/jquery-' + jQueryVersion[1] + '.min.js'
- }
- document.write('<script src="' + path + '"><\/script>')
- }())
- </script>
+ <script src="../../node_modules/jquery/dist/jquery.slim.min.js"></script>
<script src="../../node_modules/popper.js/dist/umd/popper.min.js"></script>
<!-- QUnit -->