function showDetail(paperId) { | |
// ιθ smartflow-paper-paperId ηζζε εΌθηΉ | |
var siblings = document.querySelectorAll(`div[id^='smartflow-paper-']:not(#smartflow-paper-${paperId.replace('.', '-')})`); | |
siblings.forEach(sibling => sibling.style.display = 'none'); | |
// ζΎη€Ίε½εθηΉ | |
var paper = document.getElementById(`smartflow-paper-${paperId.replace('.', '-')}`); | |
if (paper) { | |
paper.style.display = 'block'; | |
} | |
document.getElementById("paper-detail-area").style.display = "block"; | |
document.getElementById("paper-detail-area").scrollIntoView({ | |
behavior: 'smooth' | |
}); | |
} |