Merge master
This commit is contained in:
commit
74489d5e3f
40 changed files with 1738 additions and 821 deletions
|
@ -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) {
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue