diff --git a/web/js/panzoom.js b/web/js/panzoom.js index b450d5969..d8034ad83 100644 --- a/web/js/panzoom.js +++ b/web/js/panzoom.js @@ -177,9 +177,9 @@ var zmPanZoom = { setTouchAction: function(el) { const currentScale = el.getScale().toFixed(1); if (currentScale == 1) { - el.setOptions({ touchAction: 'manipulation' }); + el.setOptions({touchAction: 'manipulation'}); } else { - el.setOptions({ touchAction: 'none' }); + el.setOptions({touchAction: 'none'}); } },