Skip to content

Commit 65d7f46

Browse files
committed
若属于其他区块,显示区块
1 parent 5f4dd8d commit 65d7f46

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

checkessay.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,15 @@ function show_check_results(only_unusual = false)
7070
`);
7171
div_comments_above_char.insertBefore(codeDiv, div_comments_above_char.firstChild);
7272
}
73+
if ( charObj.cInfo.unusuals['blk_others'] == true )
74+
{
75+
var blkDiv = htmlStr2dom(`
76+
<div class="a_comment_above_char" >
77+
<span class="span_a_comment_above_char" id="blk" >${escapeHtml(charObj.cInfo.blk)}</span>
78+
</div>
79+
`);
80+
div_comments_above_char.insertBefore(blkDiv, div_comments_above_char.firstChild);
81+
}
7382

7483
var div_origChar_n_aboveText = div_essayChar.q$(".div_origChar_n_aboveText");
7584
var div_origChar = div_essayChar.q$(".div_orig_char");

0 commit comments

Comments
 (0)