mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-17 22:24:49 +02:00
maxlength="255" on commit comment textarea
Per API 0.6 limit. Fixes #2410.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user