cl-deck-builder2/templates/dropdown-js.html
2024-03-05 22:11:33 -05:00

10 lines
272 B
HTML

<script>
$(document).ready(function() {
var dropdown = document.querySelector('{{ class }}');
dropdown.addEventListener('click', function(event) {
event.stopPropagation();
dropdown.classList.toggle('is-active');
});
});
</script>