Fix translateDOM for placeholders

Replaced 'in' with a comma, like in the surrounding code.
This commit is contained in:
Samuel Mannehed 2017-02-17 12:43:59 +01:00
parent e677b66cc7
commit c3325dc6f7
1 changed files with 1 additions and 1 deletions

View File

@ -452,7 +452,7 @@ Util.Localisation = {
} }
// FIXME: Should update "lang" // FIXME: Should update "lang"
if (elem.hasAttribute("placeholder") && if (elem.hasAttribute("placeholder") &&
isAnyOf(elem.tagName in ["INPUT", "TEXTAREA"])) { isAnyOf(elem.tagName, ["INPUT", "TEXTAREA"])) {
translateAttribute(elem, "placeholder"); translateAttribute(elem, "placeholder");
} }
if (elem.hasAttribute("title")) { if (elem.hasAttribute("title")) {