Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1586 from mahdiyeh-fs/fix_blank_page
Browse files Browse the repository at this point in the history
Mahdiyeh/Fix: page from getting blank
  • Loading branch information
matin-deriv authored Apr 26, 2022
2 parents 6789c11 + b4eb84e commit 6524a3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -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<l; i++) {
Expand Down

0 comments on commit 6524a3f

Please sign in to comment.