Merge pull request #781 from arcanemachine/master

Fix inverted scrolling issue for date selectors
This commit is contained in:
Valeriy 2022-04-06 14:53:44 +03:00 committed by GitHub
commit 24d7dd5df2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -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) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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) {