Copy data-i18n attribute on TypedInput

Fixes #2211
This commit is contained in:
Nick O'Leary 2019-06-19 10:10:17 +01:00
parent ccc3809daa
commit 8486f4d43a
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@
that.input.css("margin"+d,0);
});
["type","placeholder"].forEach(function(d) {
["type","placeholder","data-i18n"].forEach(function(d) {
var m = that.element.attr(d);
that.input.attr(d,m);
});