From d16aa01afdb73548688520db13e55b608409275c Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Thu, 2 Apr 2020 12:40:41 -0700 Subject: [PATCH] Fix occasional console error --- modules/util/zoom_pan.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/util/zoom_pan.js b/modules/util/zoom_pan.js index 3053bdcc2..ec731c10e 100644 --- a/modules/util/zoom_pan.js +++ b/modules/util/zoom_pan.js @@ -266,7 +266,7 @@ export function utilZoomPan() { } function pointermove() { - if (!this.__zooming) return; + if (!this.__zooming || !_pointerLocGetter) return; var g = gesture(this, arguments);