From: Michael M Slusarz Date: Tue, 7 Apr 2009 19:18:33 +0000 (-0600) Subject: Remove unneeded FF workaround. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=460f0f250c661d62ed9016a8c9c988b4e43111a5;p=horde.git Remove unneeded FF workaround. --- 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;