aboutsummaryrefslogtreecommitdiff
path: root/docs/dist/js/bootstrap.js
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2015-10-27 07:31:49 +0200
committerXhmikosR <[email protected]>2015-10-27 07:31:49 +0200
commit9dfb999fae471265f09fb2004ba0eed0e6b187d4 (patch)
tree0991641068b64e4d8385d8f5627b0331a9110f5c /docs/dist/js/bootstrap.js
parentee92e6d44d494c8bd317b401b10a1731d49fc456 (diff)
downloadbootstrap-9dfb999fae471265f09fb2004ba0eed0e6b187d4.tar.xz
bootstrap-9dfb999fae471265f09fb2004ba0eed0e6b187d4.zip
Run `grunt`.
[ci skip]
Diffstat (limited to 'docs/dist/js/bootstrap.js')
-rw-r--r--docs/dist/js/bootstrap.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/dist/js/bootstrap.js b/docs/dist/js/bootstrap.js
index 3112e0662..37546fa54 100644
--- a/docs/dist/js/bootstrap.js
+++ b/docs/dist/js/bootstrap.js
@@ -10,8 +10,8 @@ if (typeof jQuery === 'undefined') {
+function ($) {
var version = $.fn.jquery.split(' ')[0].split('.')
- if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1)) {
- throw new Error('Bootstrap\'s JavaScript requires jQuery version 1.9.1 or higher')
+ if (version[0] !== '2') {
+ throw new Error('Bootstrap\'s JavaScript requires jQuery version 2.x.x')
}
}(jQuery);