We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 669f4ee commit 2da4085Copy full SHA for 2da4085
1 file changed
src/scroll-support.js
@@ -7,7 +7,7 @@ angular.module('g1b.datetime-inputs').
7
return {
8
pre: function preLink() {},
9
post: function postLink(scope, element, attrs) {
10
- element.bind('DOMMouseScroll mousewheel wheel', function (ev) {
+ element.bind('mousewheel wheel', function (ev) {
11
ev = ev.originalEvent || ev;
12
var delta = ev.wheelDelta || (-1 * ev.deltaY) || 0;
13
if ( delta > 0 ) {
@@ -32,7 +32,7 @@ angular.module('g1b.datetime-inputs').
32
33
34
35
36
37
38
if ( delta < 0 ) {
0 commit comments