Skip to content

Commit

Permalink
Tests: Load jquery-1-7 module for jQuery 2.x as well
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgonzalez committed May 15, 2017
1 parent ceccf50 commit ae31f2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/lib/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -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" );
}

Expand Down

0 comments on commit ae31f2b

Please sign in to comment.