diff options
author | Guillaume <gcassou@sii.fr> | 2019-11-29 14:57:33 +0100 |
---|---|---|
committer | Guillaume <gcassou@sii.fr> | 2019-11-29 14:57:33 +0100 |
commit | c77979ff134b91fa6c7226520c1463a62ea2eac0 (patch) | |
tree | 96deafbb9f816784ec1c9e45bb4cd37b2d22af70 /client/components/swimlanes/swimlanes.js | |
parent | 0a1e7006b38979fe40653834aa037341c6ac3355 (diff) | |
parent | d5a8ec1c36fb4810746eaf44aac3ef66d8df77e2 (diff) | |
download | wekan-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.js | 18 |
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); |