more styling

This commit is contained in:
2017-11-03 02:26:00 +00:00
parent 740e37c509
commit 84f1cd6f9b
7 changed files with 113 additions and 32 deletions

View File

@@ -1,10 +1,9 @@
Sui.ready(() => {
let debugResponse = (data) => {
$('#response').html(data);
document.querySelector('#response').html(data);
};
Sui.select('.collapsible').forEach((container) => {
container.querySelector('.heading').addEventListener('click', (item) => {
console.log(container);
container.classList.toggle('open');
});
});