summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McLear <john@mclear.co.uk>2015-05-25 22:07:05 +0100
committerJohn McLear <john@mclear.co.uk>2015-05-25 22:07:05 +0100
commitb049f4bfc7096293222ffdb5947e540b44f0153e (patch)
treea3f6059673fbf13bdf6ec325e92d55b2660060bc
parent7e38e2c2b1876a1f03b32824495f747ea16d3eb2 (diff)
parent92aabe12dca0b6c911d7006fc79f9fe186d2758e (diff)
downloadetherpad-lite-b049f4bfc7096293222ffdb5947e540b44f0153e.zip
Merge pull request #2681 from lpagliari/develop
Allowing 'value' to be a localizable attribute on HTML elements.
-rw-r--r--src/static/js/html10n.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/static/js/html10n.js b/src/static/js/html10n.js
index 44abd7a0..e2540f66 100644
--- a/src/static/js/html10n.js
+++ b/src/static/js/html10n.js
@@ -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)