Remove display on element style when showing element
The `revert` value prevents to inherit from the CSS rules. Closes #14872
This commit is contained in:
+1
-1
@@ -93,7 +93,7 @@ var Sao = {
|
||||
let display = element.style.display;
|
||||
if (show) {
|
||||
if (display === 'none') {
|
||||
element.style.display = 'revert';
|
||||
element.style.display = '';
|
||||
}
|
||||
} else {
|
||||
if (display !== 'none') {
|
||||
|
||||
Reference in New Issue
Block a user