mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Updated test for default position option: Reference using-implementation, as QUnit compares functions only by reference
This commit is contained in:
parent
6b36499c71
commit
56aecac811
@ -22,13 +22,7 @@ var dialog_defaults = {
|
||||
at: 'center',
|
||||
of: window,
|
||||
collision: 'fit',
|
||||
// ensure that the titlebar is never outside the document
|
||||
using: function(pos) {
|
||||
var topOffset = $(this).css(pos).offset().top;
|
||||
if (topOffset < 0) {
|
||||
$(this).css('top', pos.top - topOffset);
|
||||
}
|
||||
}
|
||||
using: $.ui.dialog.prototype.options.position.using
|
||||
},
|
||||
resizable: true,
|
||||
show: null,
|
||||
|
Loading…
Reference in New Issue
Block a user