From b4eb84eb098c1828f2c8194fd172679f6dfe953b Mon Sep 17 00:00:00 2001 From: mahdiyeh-fs Date: Wed, 22 Dec 2021 19:33:10 +0330 Subject: [PATCH] fix page from getting blank --- src/common/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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