Skip to content
Permalink
Browse files

Datepicker: Remove workaround for old Opera.

  • Loading branch information
scottgonzalez committed Jun 14, 2012
1 parent 1374f82 commit 30c064427bc697bce992c68ce2db7ddd529c76e9
Showing with 0 additions and 4 deletions.
  1. +0 −4 ui/jquery.ui.datepicker.js
@@ -665,10 +665,6 @@ $.extend(Datepicker.prototype, {
isFixed |= $(this).css('position') == 'fixed';
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]};
$.datepicker._pos = null;
//to avoid flashes on Firefox

0 comments on commit 30c0644

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