Save commit message on blur

This commit is contained in:
Greg Guthe
2013-09-05 21:00:11 -04:00
parent ba9745a6eb
commit b27ed806a9
+1 -1
View File
@@ -53,7 +53,7 @@ iD.ui.Commit = function(context) {
var commentField = commentSection.append('textarea')
.attr('placeholder', t('commit.description_placeholder'))
.property('value', context.storage('comment') || '')
.on('keyup.save', function () {
.on('blur.save', function () {
context.storage('comment', this.value);
});