diff options
Diffstat (limited to 'tests/lib/bootstrap.js')
-rw-r--r-- | tests/lib/bootstrap.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/lib/bootstrap.js b/tests/lib/bootstrap.js index 27c1b610f..0134d1d03 100644 --- a/tests/lib/bootstrap.js +++ b/tests/lib/bootstrap.js @@ -172,8 +172,11 @@ function migrateUrl() { } } + var jQueryVersion = parseUrl().jquery; + // Load the jQuery fixes, if necessary - if ( parseFloat( parseUrl().jquery ) < 3 ) { + if ( !jQueryVersion || + ( jQueryVersion.indexOf( "git" ) === -1 && parseFloat( jQueryVersion ) < 4 ) ) { modules.unshift( "ui/jquery-1-7" ); } |