diff --git a/src/common/util.js b/src/common/util.js index 80f88ec06..e547fb62b 100755 --- a/src/common/util.js +++ b/src/common/util.js @@ -429,7 +429,7 @@ function setupi18nTranslation(dict) { } function localize(node) { - if (node.className && node.className.includes('no-translation')) return; + if (node && node.className && node.className.includes('no-translation')) return; var c = node.childNodes ? node.childNodes : node, l = c.length, i; for( i=0; i