fix textarea field

This commit is contained in:
Ansis Brammanis
2013-05-08 11:00:45 -04:00
parent 76312fb51a
commit 58a038b553
+2 -2
View File
@@ -15,12 +15,12 @@ iD.ui.preset.textarea = function(field) {
function change() {
var t = {};
t[field.key] = input.text();
t[field.key] = input.property('value');
event.change(t);
}
i.tags = function(tags) {
input.text(tags[field.key] || '');
input.property('value', tags[field.key] || '');
};
i.focus = function() {