s4
diff s4-main.js @ 921:7b887bea6ecd
Team.csv with gecos names
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Tue, 12 Jan 2021 12:30:02 +0900 |
parents | 7cac220d52a7 |
children | 713441f69ab8 |
line diff
1.1 --- a/s4-main.js Fri Jan 08 19:17:31 2021 +0900 1.2 +++ b/s4-main.js Tue Jan 12 12:30:02 2021 +0900 1.3 @@ -141,6 +141,9 @@ 1.4 registInsertDirect(td0.querySelectorAll("a[href]")); 1.5 registPjaxViewers(td1.querySelectorAll("a[href]")); 1.6 } 1.7 + // Erase all "new article" flags before merging 1.8 + for (let i of document.querySelectorAll("td.new")) 1.9 + i.classList.remove("new"); 1.10 // Now reconstruct articles with merge-sort like method 1.11 outer: for (; ncur<newids.length; ncur++) { 1.12 n = newids[ncur];