mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Sortable Tests: Fix IE7 test failures due to incorrectly expecting relative urls in img srcs.(cherry picked from commit 384f181254
)
This commit is contained in:
parent
59da723acd
commit
ff2fe5bc94
@ -330,7 +330,7 @@ test( "{ placeholder: false } img", function() {
|
||||
|
||||
var element = $( "#sortable-images" ).sortable({
|
||||
start: function( event, ui ) {
|
||||
equal( ui.placeholder.attr( "src" ), "../images/jqueryui_32x32.png", "placeholder img has correct src" );
|
||||
ok( ui.placeholder.attr( "src" ).indexOf( "images/jqueryui_32x32.png" ) > 0, "placeholder img has correct src" );
|
||||
equal( ui.placeholder.height(), 32, "placeholder has correct height" );
|
||||
equal( ui.placeholder.width(), 32, "placeholder has correct width" );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user