Fix eslint
parent
b647280766
commit
3939bcec22
|
@ -617,7 +617,7 @@ function scaleToFit(baseWidth, baseHeight, scaleEl, bottomEl, container) {
|
|||
// Let's recalculate everything and reduce the height a little. Necessary if "padding" is specified for "wrapperEventVideo"
|
||||
padding = parseInt(container.css("padding-left")) + parseInt(container.css("padding-right"));
|
||||
newWidth -= padding;
|
||||
newHeight = newWidth / ratio ;
|
||||
newHeight = newWidth / ratio;
|
||||
|
||||
console.log("newWidth = ", newWidth, "container width:", container.innerWidth());
|
||||
|
||||
|
|
Loading…
Reference in New Issue