diff --git a/js/bootstrap-datetimepicker.js b/js/bootstrap-datetimepicker.js index 7c35e222..a02ae33e 100644 --- a/js/bootstrap-datetimepicker.js +++ b/js/bootstrap-datetimepicker.js @@ -533,9 +533,8 @@ top = top - containerOffset.top; left = left - containerOffset.left; - if( !elementOrParentIsFixed(this.element) ){ - top = top + document.body.scrollTop; - } + if( !elementOrParentIsFixed(this.element) ){ + } this.picker.css({ top: top,