Remove no longer used code to protect percentage widths
parent
baa45bff4b
commit
071147fba7
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue