mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
direction was inverse
This commit is contained in:
parent
8adc163816
commit
1329a33ff5
@ -895,7 +895,7 @@ var datetimepickerFactory = function ($) {
|
||||
timeboxparent.on('mousewheel', function (event) {
|
||||
var top = Math.abs(parseInt(timebox.css('marginTop'), 10));
|
||||
|
||||
top = top - (event.originalEvent.deltaY * 20);
|
||||
top = top + (event.originalEvent.deltaY * 20);
|
||||
if (top < 0) {
|
||||
top = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user