mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Dialog: Fixed a broken maxHeight test.
The size tests are fragile because they require the browser window to be large enough to contain the dialog.
This commit is contained in:
parent
de02aa34a8
commit
2365d03cef
@ -199,7 +199,7 @@ test("maxHeight", function() {
|
||||
el.remove();
|
||||
|
||||
el = $('<div></div>').dialog({ maxHeight: 400 }).dialog('option', 'maxHeight', 600);
|
||||
drag('.ui-resizable-n', -1000, -1000);
|
||||
drag('.ui-resizable-s', 1000, 1000);
|
||||
equals(heightAfter, 600, "maxHeight");
|
||||
el.remove();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user