Skip to content

Commit 39bbe70

Browse files
committed
Tests: Load the jquery-1-7 module for all 1.x versions
1 parent efb1fee commit 39bbe70

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

0 commit comments

Comments
 (0)