Skip to content

Commit a5751c6

Browse files
authored
Update options.js
1 parent a38631f commit a5751c6

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

tests/unit/dialog/options.js

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -578,14 +578,13 @@ QUnit.test( "Dialog can't break out containment", function( assert ) {
578578
dlg = element.dialog( "widget" ),
579579
offsetAfter,
580580
expected = box.offset();
581-
582-
testHelper.drag( element, ".ui-dialog-titlebar", -200, -200 ); // try to move out
583-
offsetAfter = dlg.offset(); // should be the same
584-
assert.deepEqual( offsetAfter, expected, "compare offset" );
585-
setTimeout( function() {
586-
element.dialog( "close" );
587-
box.remove();
588-
}, 100 );
589-
} );
590-
581+
582+
testHelper.drag( element, ".ui-dialog-titlebar", -200, -200 ); // try to move out
583+
offsetAfter = dlg.offset(); // should be the same
584+
assert.deepEqual( offsetAfter, expected, "compare offset" );
585+
setTimeout( function() {
586+
element.dialog( "close" );
587+
box.remove();
588+
}, 100 );
589+
} );
591590
} );

0 commit comments

Comments
 (0)