mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
Merge pull request #781 from arcanemachine/master
Fix inverted scrolling issue for date selectors
This commit is contained in:
commit
24d7dd5df2
@ -818,7 +818,7 @@ var datetimepickerFactory = function ($) {
|
|||||||
|
|
||||||
deltaY *= 10;
|
deltaY *= 10;
|
||||||
|
|
||||||
if ('deltaY' in e) { deltaY = e.deltaY; }
|
if ('deltaY' in e) { deltaY = -e.deltaY; }
|
||||||
|
|
||||||
if (deltaY && e.deltaMode) {
|
if (deltaY && e.deltaMode) {
|
||||||
if (e.deltaMode === 1) {
|
if (e.deltaMode === 1) {
|
||||||
|
3
build/jquery.datetimepicker.full.min.js
vendored
3
build/jquery.datetimepicker.full.min.js
vendored
File diff suppressed because one or more lines are too long
3
build/jquery.datetimepicker.min.js
vendored
3
build/jquery.datetimepicker.min.js
vendored
File diff suppressed because one or more lines are too long
@ -805,7 +805,7 @@ var datetimepickerFactory = function ($) {
|
|||||||
|
|
||||||
deltaY *= 10;
|
deltaY *= 10;
|
||||||
|
|
||||||
if ('deltaY' in e) { deltaY = e.deltaY; }
|
if ('deltaY' in e) { deltaY = -e.deltaY; }
|
||||||
|
|
||||||
if (deltaY && e.deltaMode) {
|
if (deltaY && e.deltaMode) {
|
||||||
if (e.deltaMode === 1) {
|
if (e.deltaMode === 1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user