From 8b896b8b84e858416b738a64cf17ca179682dd46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Sun, 19 Oct 2014 15:52:43 -0700 Subject: [PATCH] maxlength="255" on commit comment textarea Per API 0.6 limit. Fixes #2410. --- js/id/ui/commit.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/id/ui/commit.js b/js/id/ui/commit.js index 2f10a2c45..11acb146d 100644 --- a/js/id/ui/commit.js +++ b/js/id/ui/commit.js @@ -41,6 +41,7 @@ iD.ui.Commit = function(context) { var commentField = commentSection.append('textarea') .attr('placeholder', t('commit.description_placeholder')) + .attr('maxlength', 255) .property('value', context.storage('comment') || '') .on('blur.save', function () { context.storage('comment', this.value);