Merge master

This commit is contained in:
Pieter Vander Vennet 2022-01-30 19:06:41 +01:00
commit 74489d5e3f
40 changed files with 1738 additions and 821 deletions

View file

@ -160,6 +160,7 @@ export default class DetermineLayout {
let parsed = await Utils.downloadJson(link)
try {
parsed.id = link;
console.log("Loaded remote link:", link)
const layoutToUse = DetermineLayout.prepCustomTheme(parsed)
return new LayoutConfig(layoutToUse, false)
} catch (e) {

View file

@ -322,7 +322,7 @@ export class OsmConnection {
this.auth.xhr({
method: 'POST',
path: `/api/0.6/notes.json/${id}/comment?text=${encodeURIComponent(text)}`
path: `/api/0.6/notesThis /${id}/comment?text=${encodeURIComponent(text)}`
}, function (err, response) {
if (err !== null) {
error(err)