diff options
| author | 2020-04-18 11:50:35 +0200 | |
|---|---|---|
| committer | 2020-04-18 11:50:35 +0200 | |
| commit | e9213e89f4f0f8566793a4ad2da8251fe952fa8b (patch) | |
| tree | 0edb31831c38dd57cec3ed0aa483c28da3397ad7 /p/scripts | |
| parent | ae70374b0323dc26f560b28414d2d270c06ddd50 (diff) | |
Fix CSS Edge glitch in archiving options (#2906)
With Edge, only setting `.hidden = true` does not make the element and
sub-elements properly visible.
Should not make any difference for other browser.
Diffstat (limited to 'p/scripts')
| -rw-r--r-- | p/scripts/category.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/p/scripts/category.js b/p/scripts/category.js index c5d36e900..2f2b22ae7 100644 --- a/p/scripts/category.js +++ b/p/scripts/category.js @@ -143,6 +143,7 @@ function archiving() { if (e.target.id === 'use_default_purge_options') { slider.querySelectorAll('.archiving').forEach(function (element) { element.hidden = e.target.checked; + if (!e.target.checked) element.style.visibility = 'visible'; //Help for Edge 44 }); } }); |
