From 460f0f250c661d62ed9016a8c9c988b4e43111a5 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 7 Apr 2009 13:18:33 -0600 Subject: [PATCH] Remove unneeded FF workaround. --- imp/js/src/ViewPort.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/imp/js/src/ViewPort.js b/imp/js/src/ViewPort.js index 079f21688..589157eea 100644 --- a/imp/js/src/ViewPort.js +++ b/imp/js/src/ViewPort.js @@ -1060,11 +1060,8 @@ ViewPort_Scroller = Class.create({ // Mouse wheel handler. c.observe(Prototype.Browser.Gecko ? 'DOMMouseScroll' : 'mousewheel', function(e) { - // Fix issue on FF 3 (as of 3.0) that triggers two events - if (!e.eventPhase == 2) { - var move_num = Math.min(this.vp.getPageSize(), 3); - this.moveScroll(this.currentOffset() + ((e.wheelDelta >= 0 || e.detail < 0) ? (-1 * move_num) : move_num)); - } + var move_num = Math.min(this.vp.getPageSize(), 3); + this.moveScroll(this.currentOffset() + ((e.wheelDelta >= 0 || e.detail < 0) ? (-1 * move_num) : move_num)); }.bindAsEventListener(this)); return true; -- 2.11.0