
    
    // Add this code to help debug click events
    document.addEventListener('DOMContentLoaded', () => {
        // Add global click listener to debug expand buttons
        document.addEventListener('click', (e) => {
            if (e.target.closest('.expand-btn')) {
                console.log('Expand button clicked via event delegation');
            }
        });
    });
</script>

{{end}}