Fix setting frame width when changing from fixed width to scaled
parent
96e29c0299
commit
7cee8356bd
|
@ -318,12 +318,13 @@ function changeScale() {
|
|||
console.log("Error finding frame for " + monitor.id );
|
||||
continue;
|
||||
}
|
||||
if ( width ) {
|
||||
monitor_frame.css('width', width);
|
||||
}
|
||||
if ( height ) {
|
||||
monitor_frame.css('height', height+'px');
|
||||
if ( newWidth ) {
|
||||
monitor_frame.css('width', newWidth);
|
||||
}
|
||||
// We don't set the frame height because it has the status bar as well
|
||||
//if ( height ) {
|
||||
////monitor_frame.css('height', height+'px');
|
||||
//}
|
||||
/*Stream could be an applet so can't use moo tools*/
|
||||
var streamImg = $j('#liveStream'+monitor.id )[0];
|
||||
if ( streamImg ) {
|
||||
|
|
Loading…
Reference in New Issue