mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-16 10:43:18 +00:00
@@ -52,7 +52,10 @@ iD.ui.Commit = function(context) {
|
||||
|
||||
var commentField = commentSection.append('textarea')
|
||||
.attr('placeholder', t('commit.description_placeholder'))
|
||||
.property('value', context.storage('comment') || '');
|
||||
.property('value', context.storage('comment') || '')
|
||||
.on('keyup.save', function () {
|
||||
context.storage('comment', this.value);
|
||||
});
|
||||
|
||||
commentField.node().select();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user