mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Update options.js
This commit is contained in:
parent
a38631fbe5
commit
a5751c6567
@ -579,13 +579,12 @@ QUnit.test( "Dialog can't break out containment", function( assert ) {
|
||||
offsetAfter,
|
||||
expected = box.offset();
|
||||
|
||||
testHelper.drag( element, ".ui-dialog-titlebar", -200, -200 ); // try to move out
|
||||
offsetAfter = dlg.offset(); // should be the same
|
||||
assert.deepEqual( offsetAfter, expected, "compare offset" );
|
||||
setTimeout( function() {
|
||||
element.dialog( "close" );
|
||||
box.remove();
|
||||
}, 100 );
|
||||
} );
|
||||
|
||||
testHelper.drag( element, ".ui-dialog-titlebar", -200, -200 ); // try to move out
|
||||
offsetAfter = dlg.offset(); // should be the same
|
||||
assert.deepEqual( offsetAfter, expected, "compare offset" );
|
||||
setTimeout( function() {
|
||||
element.dialog( "close" );
|
||||
box.remove();
|
||||
}, 100 );
|
||||
} );
|
||||
} );
|
||||
|
Loading…
Reference in New Issue
Block a user