From ee484c54cb239e6f5b32160dbf95b04a120abb87 Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Thu, 17 Oct 2013 17:20:45 +0100 Subject: [PATCH] draw-tools: fix typo that broke editing --- external/leaflet.draw.js | 2 +- plugins/draw-tools.user.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/external/leaflet.draw.js b/external/leaflet.draw.js index d5343306..acd64e15 100644 --- a/external/leaflet.draw.js +++ b/external/leaflet.draw.js @@ -2542,7 +2542,7 @@ L.EditToolbar.Edit = L.Handler.extend({ layer.options.previousOptions = layer.options; // Make sure that Polylines are not filled - if (!(layer instanceof L.Circle) && !(layer instanceof L.GeodrsicCircle) && !(layer instanceof L.GeodesicPolygon) && !(layer instanceof L.Rectangle)) { + if (!(layer instanceof L.Circle) && !(layer instanceof L.GeodesicCircle) && !(layer instanceof L.GeodesicPolygon) && !(layer instanceof L.Rectangle)) { pathOptions.fill = false; } diff --git a/plugins/draw-tools.user.js b/plugins/draw-tools.user.js index 2e14d70e..ef28b8f8 100644 --- a/plugins/draw-tools.user.js +++ b/plugins/draw-tools.user.js @@ -2,7 +2,7 @@ // @id iitc-plugin-draw-tools@breunigs // @name IITC plugin: draw tools // @category Layer -// @version 0.5.2.@@DATETIMEVERSION@@ +// @version 0.5.3.@@DATETIMEVERSION@@ // @namespace https://github.com/jonatkins/ingress-intel-total-conversion // @updateURL @@UPDATEURL@@ // @downloadURL @@DOWNLOADURL@@