mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Datepicker: Remove workaround for old Opera.
This commit is contained in:
parent
1374f8271a
commit
30c064427b
4
ui/jquery.ui.datepicker.js
vendored
4
ui/jquery.ui.datepicker.js
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user