Tests: Load jquery-1-7 module for jQuery 2.x as well

This commit is contained in:
Scott González 2017-05-15 18:24:19 -04:00
parent ceccf507be
commit ae31f2b3b4

View File

@ -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" );
}