Process all siblings
This commit is contained in:
parent
20129e39d5
commit
f1c1c089d2
|
@ -79,12 +79,9 @@ var sourceVisible = localStorage.getItem('source-visible') === 'true';
|
|||
var $sibling = $(sibling);
|
||||
|
||||
if (sibling) {
|
||||
if (sibling.tagName === 'LI') {
|
||||
processContainer(sibling);
|
||||
}
|
||||
|
||||
if (isClonedNode(current, sibling)) {
|
||||
if (isPureEnglish(current.textContent)) {
|
||||
processContainer(sibling);
|
||||
$current.addClass('original-english');
|
||||
$sibling.addClass('translated');
|
||||
$sibling.addClass('translated-cn');
|
||||
|
|
Loading…
Reference in New Issue