when selecting auto, we need to remove the width & height css key

This commit is contained in:
Isaac Connor 2018-07-31 16:55:54 -04:00
parent c934295bf9
commit b85f74bb99
1 changed files with 7 additions and 9 deletions

View File

@ -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 ) {