Skip to content

Commit

Permalink
Datepicker: Remove workaround for old Opera.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgonzalez committed Jun 14, 2012
1 parent 1374f82 commit 30c0644
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ui/jquery.ui.datepicker.js
Expand Up @@ -665,10 +665,6 @@ $.extend(Datepicker.prototype, {
isFixed |= $(this).css('position') == 'fixed'; isFixed |= $(this).css('position') == 'fixed';
return !isFixed; return !isFixed;
}); });
if (isFixed && $.browser.opera) { // correction for Opera when fixed and scrolled
$.datepicker._pos[0] -= document.documentElement.scrollLeft;
$.datepicker._pos[1] -= document.documentElement.scrollTop;
}
var offset = {left: $.datepicker._pos[0], top: $.datepicker._pos[1]}; var offset = {left: $.datepicker._pos[0], top: $.datepicker._pos[1]};
$.datepicker._pos = null; $.datepicker._pos = null;
//to avoid flashes on Firefox //to avoid flashes on Firefox
Expand Down

0 comments on commit 30c0644

Please sign in to comment.