Fix typo in method name, fix conflicted doctests
This commit is contained in:
parent
00026768f2
commit
5bafbbd3d2
4 changed files with 4 additions and 12 deletions
|
@ -949,7 +949,7 @@ export default class SpecialVisualizations {
|
|||
await state.osmConnection.reopenNote(id, txt.data)
|
||||
await state.osmConnection.closeNote(id)
|
||||
} else {
|
||||
await state.osmConnection.addCommentToNode(id, txt.data)
|
||||
await state.osmConnection.addCommentToNote(id, txt.data)
|
||||
}
|
||||
NoteCommentElement.addCommentTo(txt.data, tags, state)
|
||||
txt.setData("")
|
||||
|
@ -1045,7 +1045,7 @@ export default class SpecialVisualizations {
|
|||
|
||||
const uploader = new ImgurUploader(url => {
|
||||
isUploading.setData(false)
|
||||
state.osmConnection.addCommentToNode(id, url)
|
||||
state.osmConnection.addCommentToNote(id, url)
|
||||
NoteCommentElement.addCommentTo(url, tags, state)
|
||||
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue