mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Fix typos in original tests
This commit is contained in:
parent
0bda22f443
commit
7bca8c1004
@ -1,7 +1,7 @@
|
||||
(function( $ ) {
|
||||
|
||||
function scrollTopSupport() {
|
||||
$( window ).scrollTop( 1 );
|
||||
$( window ).scrollTop( 1 );
|
||||
return $( window ).scrollTop() === 1;
|
||||
}
|
||||
|
||||
@ -64,7 +64,6 @@ test( "positions", function() {
|
||||
center: 3,
|
||||
right: 6,
|
||||
top: 0,
|
||||
center: 3,
|
||||
bottom: 6
|
||||
};
|
||||
var start = { left: 4, top: 4 };
|
||||
@ -351,7 +350,7 @@ test( "collision: flip, with offset", function() {
|
||||
|
||||
collisionTest2({
|
||||
collision: "flip",
|
||||
at: "left-2 top-3",
|
||||
at: "left-2 top-3"
|
||||
}, { top: $( window ).height() + 3, left: $( window ).width() + 2 }, "right bottom, negative offset" );
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user