Skip to content

Commit 6df435a

Browse files
authored
Update options.js
1 parent b0aafb4 commit 6df435a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/unit/dialog/options.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -572,15 +572,15 @@ QUnit.test( "Open followed by close during show effect", function( assert ) {
572572
QUnit.test( "Dialog can't break out containment", function( assert ) {
573573
assert.expect( 1 );
574574
var box = $( '<div id="xxx"></div>' ).css( {
575-
height: '500px',border: '0px, margin:'0px', width:'500px', position: 'absolute', bottom: '0px', right: '0px', left: '50px', top: '50px'
575+
height: '500px',border: '0px', margin:'0px', width:'500px', position: 'absolute', bottom: '0px', right: '0px', left: '50px', top: '50px'
576576
} ).appendTo( "body" ),
577577
element = $('<div>X</div>').dialog({containment: box, position: { at: "left top", of: box}}), // open on left top corner
578578
dlg = element.dialog('widget'),
579579
offsetAfter,
580580
expected = box.offset();
581581

582-
testHelper.drag( element, '.ui-dialog-titlebar', -200, -200); // try to move out
583-
offsetAfter = dlg.offset(); // should be the same
582+
testHelper.drag( element, '.ui-dialog-titlebar', -200, -200); // try to move out
583+
offsetAfter = dlg.offset(); // should be the same
584584
assert.deepEqual( offsetAfter, expected, "compare offset" );
585585
} );
586586

0 commit comments

Comments
 (0)