Caught when testing jQuery UI against the new QUnit version, where start throws
an error if called with a non-numeric error.
Closes gh-1630
(cherry picked from commit
60fa118955aab65e66995454f4e7b228a49c4177)
element = $( "#sortable" ).sortable({
axis: "y",
revert: true,
- stop: start,
sort: function() {
expectedLeft = item.css( "left" );
}
var top = parseFloat( item.css( "top" ) );
equal( item.css( "left" ), expectedLeft, "left not animated" );
ok( top > 0 && top < 300, "top is animated" );
+ start();
}, 100 );
});