document.addEventListener('DOMContentLoaded', function () { var trigger = document.getElementById('toggle-comment-area'); trigger.addEventListener('click', function () { var wrapper = document.getElementById('comment-area-wrapper'); if (wrapper.classList.contains('nv-comments-hidden')) { wrapper.classList.remove('nv-comments-hidden'); trigger.innerHTML = "Hide comments"; } else { wrapper.classList.add('nv-comments-hidden'); trigger.innerHTML = "Show comments"; } }); });

Leave a Reply

Your email address will not be published. Required fields are marked *


Since moving to Cleveland one thing I’ve discovered is that it has one of the most incredible culinary scenes that can match, and in some… Read itTrentina