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.
This commit is contained in:
Alexandre Alapetite authored and GitHub committed 2020-04-18 11:50:35 +02:00
1 parent ae70374b03
commit e9213e89f4
1 file changed
+1
+1
View File
@@ -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
});
}
});