有了足够明显的提示,不再通过title的方式给用户提示

This commit is contained in:
Zhicheng Wang 2016-05-15 22:17:55 +08:00
parent bd1d525199
commit 3748672331
1 changed files with 0 additions and 3 deletions

View File

@ -15,9 +15,6 @@ var sourceVisible = localStorage.getItem('source-visible') === 'true';
$node.attr('id', prevNode.id);
$node.addClass('translated');
$node.addClass('translated-cn');
if (!$node.attr('title')) {
$node.attr('title', '点击译文可显示/隐藏原文;点击原文可隐藏原文');
}
$prevNode.removeAttr('id');
$prevNode.addClass('original-english');
if (!sourceVisible) {