From 2ae1110983bf4f840cc41d66cc2cdffb12e12a40 Mon Sep 17 00:00:00 2001 From: Simon Leech Date: Thu, 16 Nov 2023 16:51:59 +0000 Subject: [PATCH] Fix toggling edit mode with no changes --- lib/ui/locations/view.mjs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/ui/locations/view.mjs b/lib/ui/locations/view.mjs index 03a193ff5..11ebebd59 100644 --- a/lib/ui/locations/view.mjs +++ b/lib/ui/locations/view.mjs @@ -95,6 +95,7 @@ export default location => { // New locations should be editable. !location.new && location.removeEdits() + // Create edit toggle button. location.editToggle = mapp.utils.html.node`