Skip to content

Commit ae31f2b

Browse files
committed
Tests: Load jquery-1-7 module for jQuery 2.x as well
1 parent ceccf50 commit ae31f2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/lib/bootstrap.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ function migrateUrl() {
172172
}
173173
}
174174

175-
// Load the jQuery 1.x fixes, if necessary
176-
if ( parseFloat( parseUrl().jquery ) < 2 ) {
175+
// Load the jQuery fixes, if necessary
176+
if ( parseFloat( parseUrl().jquery ) < 3 ) {
177177
modules.push( "ui/jquery-1-7" );
178178
}
179179

0 commit comments

Comments
 (0)