Removed unnecessary (style.display !== 'none') check

Fixes issues 774 and 1861
This commit is contained in:
gunmiosb 2020-07-29 11:02:25 +02:00
parent 84dd5cd6a7
commit f9fea572a5

View File

@ -288,10 +288,7 @@
style[transformProp] = ""; style[transformProp] = "";
} }
} }
style.display = 'block';
if (style.display !== 'none') {
style.display = 'block';
}
} }
}, },