summaryrefslogtreecommitdiffstats
path: root/client/components/swimlanes/swimlanes.js
diff options
context:
space:
mode:
authorGuillaume <gcassou@sii.fr>2019-11-29 14:57:33 +0100
committerGuillaume <gcassou@sii.fr>2019-11-29 14:57:33 +0100
commitc77979ff134b91fa6c7226520c1463a62ea2eac0 (patch)
tree96deafbb9f816784ec1c9e45bb4cd37b2d22af70 /client/components/swimlanes/swimlanes.js
parent0a1e7006b38979fe40653834aa037341c6ac3355 (diff)
parentd5a8ec1c36fb4810746eaf44aac3ef66d8df77e2 (diff)
downloadwekan-c77979ff134b91fa6c7226520c1463a62ea2eac0.tar.gz
wekan-c77979ff134b91fa6c7226520c1463a62ea2eac0.tar.bz2
wekan-c77979ff134b91fa6c7226520c1463a62ea2eac0.zip
Merge branch 'master' of https://github.com/wekan/wekan
Diffstat (limited to 'client/components/swimlanes/swimlanes.js')
-rw-r--r--client/components/swimlanes/swimlanes.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/client/components/swimlanes/swimlanes.js b/client/components/swimlanes/swimlanes.js
index 8687a0e8..d072a2a2 100644
--- a/client/components/swimlanes/swimlanes.js
+++ b/client/components/swimlanes/swimlanes.js
@@ -146,24 +146,6 @@ BlazeComponent.extendComponent({
}
initSortable(boardComponent, $listsDom);
-
- if (cookies.has('collapseSwimlane')) {
- // Minimize swimlanes start https://www.w3schools.com/howto/howto_js_accordion.asp
- const acc = document.getElementsByClassName('accordion');
- let i;
- for (i = 0; i < acc.length; i++) {
- acc[i].addEventListener('click', function() {
- this.classList.toggle('active');
- const panel = this.nextElementSibling;
- if (panel.style.maxHeight) {
- panel.style.maxHeight = null;
- } else {
- panel.style.maxHeight = `${panel.scrollHeight}px`;
- }
- });
- }
- // Minimize swimlanes end https://www.w3schools.com/howto/howto_js_accordion.asp
- }
},
onCreated() {
this.draggingActive = new ReactiveVar(false);