Closed Bug 1243725 Opened 8 years ago Closed 8 years ago

Uncaught (in promise) TypeError: element.querySelectorAll is not a function(…)

Categories

(L20n :: JS Library, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1240192

People

(Reporter: nasonov.alexey, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36

Steps to reproduce:

<meta name="defaultLanguage" content="ru-RU">
<meta name="availableLanguages" content="ru-RU, en-US">
<script defer src="/bower_components/l20n/dist/compat/web/l20n.js"></script>
<link rel="localization" href="/locales/marvin.{locale}.l20n">


Actual results:

l20n.js:2274 Uncaught (in promise) TypeError: element.querySelectorAll is not a function(…)
getTranslatables @ l20n.js:2274
_translateFragment @ l20n.js:2341
(anonymous function) @ l20n.js:2067
translateRoots @ l20n.js:2066
translateView @ l20n.js:2623
(anonymous function) @ l20n.js:2491


Expected results:

Translation
l20n bower version: 3.5.0
Thanks for the report.  This will be fixed in the next version of L20n.js: bug 1240192.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.