From ac218fdf96de17b4706322ef34eb48c30902ba2b Mon Sep 17 00:00:00 2001 From: Christian Schiller Date: Sun, 24 Feb 2019 21:57:35 +0100 Subject: [PATCH] Bugfix for issue #25 The file was incorrecty merged from Chrome version 4.21. As a result, the simplified characters were always shown, no matter if 'auto' was chosen or not. --- content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content.js b/content.js index 52c9fc8..0cace2d 100644 --- a/content.js +++ b/content.js @@ -963,7 +963,7 @@ var zhongwenContent = { hanziClass += '-small'; } var hanziSpan = document.createElement('span'); - hanziSpan.textContent = e[2]; + hanziSpan.textContent = word; hanziSpan.className = hanziClass; fragment.appendChild(hanziSpan);