From b27ed806a90e6c5126d1322f4ae5f7e2f19a218e Mon Sep 17 00:00:00 2001 From: Greg Guthe Date: Thu, 5 Sep 2013 21:00:11 -0400 Subject: [PATCH] Save commit message on blur --- js/id/ui/commit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/id/ui/commit.js b/js/id/ui/commit.js index 6ba09910d..f2c092642 100644 --- a/js/id/ui/commit.js +++ b/js/id/ui/commit.js @@ -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); });