From 3be9da2a4b3e1ddcf2cc956c52b68b821490d300 Mon Sep 17 00:00:00 2001 From: josdejong Date: Fri, 20 Sep 2013 17:58:14 +0200 Subject: [PATCH] Fixed non-working scroll on FF --- src/graph/Graph.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/graph/Graph.js b/src/graph/Graph.js index 11cf53bb..7e26fc5c 100644 --- a/src/graph/Graph.js +++ b/src/graph/Graph.js @@ -304,6 +304,7 @@ Graph.prototype._create = function () { this.hammer.on('drag', me._onDrag.bind(me) ); this.hammer.on('dragend', me._onDragEnd.bind(me) ); this.hammer.on('mousewheel',me._onMouseWheel.bind(me) ); + this.hammer.on('DOMMouseScroll',me._onMouseWheel.bind(me) ); // for FF this.hammer.on('mousemove', me._onMouseMoveTitle.bind(me) ); // add the frame to the container element