2013
function toggleCommentArea(el, selector) {
const wrapper = document.getElementById(selector);
const expanding = wrapper.classList.contains('nv-comments-hidden');
wrapper.classList.toggle('nv-comments-hidden');
el.textContent = expanding ?
"Hide comments" :
"Show comments";
el.setAttribute('aria-expanded', expanding ? 'true' : 'false');
}
2013
As the year 2013 comes to a close and we enter 2014 I’d like to reflect on moments from throughout the year. Last year I… Read it2013