diff --git a/js/datepicker.js b/js/datepicker.js index 34b3855..f8705b2 100644 --- a/js/datepicker.js +++ b/js/datepicker.js @@ -672,7 +672,7 @@ var viewPort = getViewport(); var top = pos.top; var left = pos.left; - var oldDisplay = $.curCSS(calEl, 'display'); + var oldDisplay = $.css(calEl, 'display'); cal.css({ visibility: 'hidden', display: 'block'