Small fixes

This commit is contained in:
Pieter Vander Vennet 2020-06-29 03:40:19 +02:00
parent 6d4f5a50f2
commit 3e6def36b8
6 changed files with 32 additions and 14 deletions

View file

@ -25,10 +25,10 @@ let dryRun = false;
if (location.hostname === "localhost" || location.hostname === "127.0.0.1") {
// Set to true if testing and changes should NOT be saved
dryRun = true;
// dryRun = true;
// If you have a testfile somewhere, enable this to spoof overpass
// This should be hosted independantly, e.g. with `cd assets; webfsd -p 8080` + a CORS plugin to disable cors rules
Overpass.testUrl = "http://127.0.0.1:8080/test.json";
// Overpass.testUrl = "http://127.0.0.1:8080/test.json";
}
@ -143,6 +143,7 @@ new StrayClickHandler(bm, selectedElement, leftMessage, () => {
bm.LastClickLocation,
changes,
selectedElement,
layerUpdater.runningQuery,
addButtons);
}
);