mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-21 02:23:30 +00:00
fix onclick handler when closing/reopening notes with comment (#10205)
This commit is contained in:
@@ -370,7 +370,8 @@ export function uiNoteEditor(context) {
|
||||
var action = (d.status === 'open' ? 'close' : 'open');
|
||||
var andComment = (d.newComment ? '_comment' : '');
|
||||
return t.html('note.' + action + andComment);
|
||||
})
|
||||
});
|
||||
buttonSection.select('.status-button')
|
||||
.on('click.status', clickStatus);
|
||||
|
||||
buttonSection.select('.comment-button') // select and propagate data
|
||||
|
||||
Reference in New Issue
Block a user