diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-06-14 18:25:06 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-06-14 18:25:06 -0400 |
commit | 30c064427bc697bce992c68ce2db7ddd529c76e9 (patch) | |
tree | aaa9e642210a499640815c26122116e54b6c460d /ui | |
parent | 1374f8271a4ec79dbdd1ee13812f5946dbb2f35e (diff) | |
download | jquery-ui-30c064427bc697bce992c68ce2db7ddd529c76e9.tar.gz jquery-ui-30c064427bc697bce992c68ce2db7ddd529c76e9.zip |
Datepicker: Remove workaround for old Opera.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/jquery.ui.datepicker.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ui/jquery.ui.datepicker.js b/ui/jquery.ui.datepicker.js index e4196bedd..6f3e2f34f 100644 --- a/ui/jquery.ui.datepicker.js +++ b/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 |