diff --git a/src/edit/actions/DistortAction.js b/src/edit/actions/DistortAction.js index cace1e4ad..f8119f969 100644 --- a/src/edit/actions/DistortAction.js +++ b/src/edit/actions/DistortAction.js @@ -13,7 +13,7 @@ L.DistortAction = L.EditAction.extend({ }, addHooks() { - var edit = this._overlay.editing; + const edit = this._overlay.editing; edit._distortMode(); }, });