Chore: Removed extra spaces (panzoom.js)

This commit is contained in:
IgorA100
2024-08-20 13:07:00 +03:00
committed by GitHub
parent f2323426a0
commit 0717a2d324

View File

@@ -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'});
}
},