diff --git a/src/ol/interaction/MouseWheelZoom.js b/src/ol/interaction/MouseWheelZoom.js index 9702ec4ccc..a34c6577bb 100644 --- a/src/ol/interaction/MouseWheelZoom.js +++ b/src/ol/interaction/MouseWheelZoom.js @@ -229,8 +229,7 @@ class MouseWheelZoom extends Interaction { if ( this.mode_ === Mode.TRACKPAD && !(view.getConstrainResolution() || this.constrainResolution_) - ) - { + ) { if (this.trackpadTimeoutId_) { clearTimeout(this.trackpadTimeoutId_); } else {