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
commit f712d9c238
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
191 changed files with 6658 additions and 8080 deletions

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;