Skip to content

Commit a38631f

Browse files
authored
Update options.js
1 parent 335a3cc commit a38631f

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
@@ -574,12 +574,12 @@ QUnit.test( "Dialog can't break out containment", function( assert ) {
574574
var box = $( '<div id="xxx"></div>' ).css( {
575575
height: '500px',border: '0px', margin:'0px', width:'500px', position: 'absolute', bottom: '0px', right: '0px', left: '50px', top: '50px'
576576
} ).appendTo( "body" ),
577-
element = $( '<div>X</div>' ).dialog( { containment: box, position: { at: "left top", of: box } } ), // open on left top corner
578-
dlg = element.dialog( 'widget' ),
577+
element = $( "<div>X</div>" ).dialog( { containment: box, position: { at: "left top", of: box } } ), // open on left top corner
578+
dlg = element.dialog( "widget" ),
579579
offsetAfter,
580580
expected = box.offset();
581581

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

0 commit comments

Comments
 (0)