mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
The vertical position of the picker is completely reset before the new position is applied to prevent interference from previous values.
This commit is contained in:
parent
1b4fad11b3
commit
33d1338268
@ -2572,8 +2572,10 @@ var DateFormatter;
|
||||
});
|
||||
|
||||
datetimepickerCss = {
|
||||
position: position,
|
||||
left: left,
|
||||
position: position
|
||||
top: '', //Initialize to prevent previous values interfering with new ones.
|
||||
bottom: '' //Initialize to prevent previous values interfering with new ones.
|
||||
};
|
||||
|
||||
datetimepickerCss[verticalAnchorEdge] = verticalPosition;
|
||||
|
2
build/jquery.datetimepicker.full.min.js
vendored
2
build/jquery.datetimepicker.full.min.js
vendored
File diff suppressed because one or more lines are too long
2
build/jquery.datetimepicker.min.js
vendored
2
build/jquery.datetimepicker.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1996,8 +1996,10 @@
|
||||
});
|
||||
|
||||
datetimepickerCss = {
|
||||
position: position,
|
||||
left: left,
|
||||
position: position
|
||||
top: '', //Initialize to prevent previous values interfering with new ones.
|
||||
bottom: '' //Initialize to prevent previous values interfering with new ones.
|
||||
};
|
||||
|
||||
datetimepickerCss[verticalAnchorEdge] = verticalPosition;
|
||||
|
Loading…
Reference in New Issue
Block a user