Allow 'placeholder' to be a localizable attribute on HTML elements (#3257)
This commit is contained in:
parent
67439545a6
commit
0e1414dcca
|
@ -852,6 +852,7 @@ window.html10n = (function(window, document, undefined) {
|
|||
, "alt": 1
|
||||
, "textContent": 1
|
||||
, "value": 1
|
||||
, "placeholder": 1
|
||||
}
|
||||
if (index > 0 && str.id.substr(index + 1) in attrList) { // an attribute has been specified
|
||||
prop = str.id.substr(index + 1)
|
||||
|
|
Loading…
Reference in New Issue