From d17dd7434ab081871347d206536c9611de790204 Mon Sep 17 00:00:00 2001 From: Zhicheng Wang Date: Sat, 14 May 2016 19:27:44 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=B1=BB=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/resources/css/_translate.scss | 2 +- public/resources/js/translate.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/resources/css/_translate.scss b/public/resources/css/_translate.scss index e6245dc973..fec7ab5ab4 100644 --- a/public/resources/css/_translate.scss +++ b/public/resources/css/_translate.scss @@ -6,7 +6,7 @@ border-bottom: 1px dashed red; } -.translate-cn { +.translated-cn { em { font-style: normal; } diff --git a/public/resources/js/translate.js b/public/resources/js/translate.js index e904389ef1..8e2e3f9389 100644 --- a/public/resources/js/translate.js +++ b/public/resources/js/translate.js @@ -11,8 +11,8 @@ } } node.title = prevNode.innerText; - node.classList.add('translate'); - node.classList.add('translate-cn'); + node.classList.add('translated'); + node.classList.add('translated-cn'); } });