Sha256: 28b8b96f3e9ec74cc676ef377ce692816b5dea3d34870c0d4b803ad643f09e16
Contents?: true
Size: 405 Bytes
Versions: 8
Compression:
Stored size: 405 Bytes
Contents
document.addEventListener('DOMContentLoaded', function () { const folders = document.querySelectorAll('.folder'); folders.forEach(folder => { folder.addEventListener('click', function () { const nextElement = this.nextElementSibling; if (nextElement.classList.contains('nested-list-group')) { nextElement.classList.toggle('show'); } }); }); });
Version data entries
8 entries across 8 versions & 1 rubygems