Widget: DCTList: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
Line 540: | Line 540: | ||
document.body.addEventListener('click', function (event) { | document.body.addEventListener('click', function (event) { | ||
const filterPane = document.getElementById('dct-filters'); | const filterPane = document.getElementById('dct-filters'); | ||
if (filterPane.contains(event.target) && filterPane.classList.contains('open')) { | if (!filterPane.contains(event.target) && filterPane.classList.contains('open')) { | ||
filterPane.classList.remove('open'); | filterPane.classList.remove('open'); | ||
} | } |
Revision as of 16:18, 6 September 2022
Development verstion of the DCT List.
Not ready for production!