aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2017-05-15 18:24:19 -0400
committerScott González <scott.gonzalez@gmail.com>2017-05-15 18:24:19 -0400
commitae31f2b3b478975f70526bdf3299464b9afa8bb1 (patch)
tree315f8cab8b6bce193b456137f18e7a8ecbcd3b8c
parentceccf507be95d48ac50b0fd2e0f0389831941664 (diff)
downloadjquery-ui-ae31f2b3b478975f70526bdf3299464b9afa8bb1.tar.gz
jquery-ui-ae31f2b3b478975f70526bdf3299464b9afa8bb1.zip
Tests: Load `jquery-1-7` module for jQuery 2.x as well
-rw-r--r--tests/lib/bootstrap.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/bootstrap.js b/tests/lib/bootstrap.js
index 8d63c8135..7f1e12dd0 100644
--- a/tests/lib/bootstrap.js
+++ b/tests/lib/bootstrap.js
@@ -172,8 +172,8 @@ function migrateUrl() {
}
}
- // Load the jQuery 1.x fixes, if necessary
- if ( parseFloat( parseUrl().jquery ) < 2 ) {
+ // Load the jQuery fixes, if necessary
+ if ( parseFloat( parseUrl().jquery ) < 3 ) {
modules.push( "ui/jquery-1-7" );
}