Skip to content

Commit 21eb5e2

Browse files
committed
featurelist/table Remove the C link to character usage for Chinese, Japanese, & Korean.
1 parent 7473aa9 commit 21eb5e2

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

featurelist/table.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,13 @@ function resort (column, reverse) {
313313
table += '<td title="Script" style="text-align:right; padding-inline:.5rem;">'+scriptData[i].script+'</td>'
314314

315315
table += '<td title="Link to the orthography notes.">'+linked+'</td>'
316-
317-
table += '<td title="Go to the Character Usage page for '+scriptData[i].id+'"><a href="../../app-charuse/index.html?language='+scriptData[i].id+'" style="font-size:100%;font-weight:bold; padding-inline:.25rem;" target="_blank">C</td>'
316+
317+
if (scriptData[i].id !== 'cmn' && scriptData[i].id !== 'ja' && scriptData[i].id !== 'ko') {
318+
table += '<td title="Go to the Character Usage page for '+scriptData[i].id+'"><a href="../../app-charuse/index.html?language='+scriptData[i].id+'" style="font-size:100%;font-weight:bold; padding-inline:.25rem;" target="_blank">C</a></td>'
319+
}
320+
else {
321+
table += '<td>&nbsp;</td>'
322+
}
318323

319324
table += '<td title="Total characters" style="text-align:right;padding: 0 .5em;" class="y">'+scriptData[i].chars+'</td>'
320325

0 commit comments

Comments
 (0)