Skip to content
This repository was archived by the owner on Feb 14, 2019. It is now read-only.

Commit 4dbb312

Browse files
committed
Fixed positioning bug when scrollbar present
1 parent 8b8e274 commit 4dbb312

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

js/bootstrap-datetimepicker.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -533,10 +533,6 @@
533533
top = top - containerOffset.top;
534534
left = left - containerOffset.left;
535535

536-
if( !elementOrParentIsFixed(this.element) ){
537-
top = top + document.body.scrollTop;
538-
}
539-
540536
this.picker.css({
541537
top: top,
542538
left: left,

0 commit comments

Comments
 (0)