summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-11-17 01:36:33 +0200
committerLauri Ojansivu <x@xet7.org>2019-11-17 01:36:33 +0200
commitc93ea33d05bed042a744fc11e4730c9e5ecdb93b (patch)
tree8da7de52edb84f2ab56ca8a90a3a654ec18a6776 /client
parent26e0bbce172f89baa380ddae19b7b495519db40f (diff)
downloadwekan-c93ea33d05bed042a744fc11e4730c9e5ecdb93b.tar.gz
wekan-c93ea33d05bed042a744fc11e4730c9e5ecdb93b.tar.bz2
wekan-c93ea33d05bed042a744fc11e4730c9e5ecdb93b.zip
Fix prettify.
Diffstat (limited to 'client')
-rw-r--r--client/components/swimlanes/swimlanes.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/components/swimlanes/swimlanes.js b/client/components/swimlanes/swimlanes.js
index 0b94174d..2cba5b56 100644
--- a/client/components/swimlanes/swimlanes.js
+++ b/client/components/swimlanes/swimlanes.js
@@ -136,16 +136,16 @@ BlazeComponent.extendComponent({
initSortable(boardComponent, $listsDom);
// Minimize swimlanes start https://www.w3schools.com/howto/howto_js_accordion.asp
- var acc = document.getElementsByClassName("accordion");
+ var acc = document.getElementsByClassName('accordion');
var i;
for (i = 0; i < acc.length; i++) {
- acc[i].addEventListener("click", function() {
- this.classList.toggle("active");
+ acc[i].addEventListener('click', function() {
+ this.classList.toggle('active');
var panel = this.nextElementSibling;
if (panel.style.maxHeight) {
panel.style.maxHeight = null;
} else {
- panel.style.maxHeight = panel.scrollHeight + "px";
+ panel.style.maxHeight = panel.scrollHeight + 'px';
}
});
}