Remove no longer used code to protect percentage widths

pull/3576/head
Isaac Connor 2022-08-15 13:04:50 -04:00
parent baa45bff4b
commit 071147fba7
1 changed files with 1 additions and 4 deletions

View File

@ -130,10 +130,7 @@ function MonitorStream(monitorData) {
width = Math.round(parseInt(this.width) * newscale / 100)+'px';
height = Math.round(parseInt(this.height) * newscale / 100)+'px';
}
if (width && (width != '0px')
// This next is for montage layouts where we use things like 33%
//&& ((monitor_frame[0].style.width===undefined) || (-1 == monitor_frame[0].style.width.search('%')))
) {
if (width && (width != '0px')) {
monitor_frame.css('width', parseInt(width));
}
if (height && height != '0px') img.style.height = height;