fixed typo

This commit is contained in:
Thomas Hervey
2018-07-09 10:11:50 -04:00
parent 14356cefe2
commit c460c03da5
2 changed files with 6 additions and 4 deletions

View File

@@ -755,7 +755,8 @@
"newComment": "New Comment",
"inputPlaceholder": "Enter a comment to share with other users.",
"comment": "Comment",
"commentResolve": "Comment & Resolve",
"commentClose": "Comment & Resolve",
"commentReopen": "Comment & Reopen",
"save": "Save comment",
"cancel": "Cancel"
},

View File

@@ -23,6 +23,7 @@ export function uiNoteEditor(context) {
var _inputValue;
var _newComment;
var _note;
var _modified;
function localeDateString(s) {
if (!s) return null;
@@ -93,7 +94,7 @@ export function uiNoteEditor(context) {
function addNoteComment(parseResults) {
if (!_note || !_note.status || !context.selectedNoteID) return;
services.osm..addNoteComment(_note, _inputValue, parseResults);
services.osm.addNoteComment(_note, _inputValue, parseResults);
}
@@ -332,10 +333,10 @@ export function uiNoteEditor(context) {
.merge(buttonEnter);
buttonSection.selectAll('.close-button')
.on('click', function() { save(toggleNoteStatus) });
.on('click', function() { save(toggleNoteStatus); });
buttonSection.selectAll('.reopen-button')
.on('click', function() { save(toggleNoteStatus) });
.on('click', function() { save(toggleNoteStatus); });
buttonSection.selectAll('.cancel-button')
.on('click.cancel', cancel);