Merge pull request #2681 from lpagliari/develop

Allowing 'value' to be a localizable attribute on HTML elements.
This commit is contained in:
John McLear 2015-05-25 22:07:05 +01:00
commit b049f4bfc7
1 changed files with 1 additions and 0 deletions

View File

@ -851,6 +851,7 @@ window.html10n = (function(window, document, undefined) {
, "innerHTML": 1
, "alt": 1
, "textContent": 1
, "value": 1
}
if (index > 0 && str.id.substr(index + 1) in attrList) { // an attribute has been specified
prop = str.id.substr(index + 1)