Skip to content
Permalink
Browse files

Updated test for default position option: Reference using-implementat…

…ion, as QUnit compares functions only by reference
  • Loading branch information...
jzaefferer committed Jul 15, 2010
1 parent 6b36499 commit 56aecac811d09232ebb22715128436f7e5ef736d
Showing with 1 addition and 7 deletions.
  1. +1 −7 tests/unit/dialog/dialog_defaults.js
@@ -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,

0 comments on commit 56aecac

Please sign in to comment.
You can’t perform that action at this time.