Merge branch 'master' into fix-subtitle-line-spacing

This commit is contained in:
Dmitry Lyzo
2020-08-06 20:11:47 +03:00
committed by GitHub
191 changed files with 6658 additions and 8080 deletions
+1 -1
View File
@@ -1674,7 +1674,7 @@ function tryRemoveElement(elem) {
setAspectRatio(val) {
const mediaElement = this.#mediaElement;
if (mediaElement) {
if ('auto' === val) {
if (val === 'auto') {
mediaElement.style.removeProperty('object-fit');
} else {
mediaElement.style['object-fit'] = val;