when selecting auto, we need to remove the width & height css key
This commit is contained in:
parent
c934295bf9
commit
b85f74bb99
|
@ -253,10 +253,8 @@ function changeSize() {
|
||||||
console.log("Error finding frame for " + monitor.id );
|
console.log("Error finding frame for " + monitor.id );
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if ( width )
|
monitor_frame.css('width',width?width+'px':'');
|
||||||
monitor_frame.css('width',width+'px');
|
monitor_frame.css('height',height?height+'px':'');
|
||||||
if ( height )
|
|
||||||
monitor_frame.css('height',height+'px');
|
|
||||||
/*Stream could be an applet so can't use moo tools*/
|
/*Stream could be an applet so can't use moo tools*/
|
||||||
var streamImg = $( 'liveStream'+monitor.id );
|
var streamImg = $( 'liveStream'+monitor.id );
|
||||||
if ( streamImg ) {
|
if ( streamImg ) {
|
||||||
|
|
Loading…
Reference in New Issue