Fix: eslint (MonitorStream.js)
parent
65a241fd6c
commit
d72303de48
|
@ -162,9 +162,9 @@ function MonitorStream(monitorData) {
|
|||
img.style.width = 'auto';
|
||||
$j(img).closest('.monitorStream')[0].style.overflow = 'auto';
|
||||
} else {
|
||||
const monitor_stream = $j(img).closest('.monitorStream');
|
||||
const realWidth = monitor_stream.attr('data-width');
|
||||
const realHeight = monitor_stream.attr('data-height');
|
||||
//const monitor_stream = $j(img).closest('.monitorStream');
|
||||
//const realWidth = monitor_stream.attr('data-width');
|
||||
//const realHeight = monitor_stream.attr('data-height');
|
||||
//const ratio = realWidth / realHeight;
|
||||
//const imgWidth = $j(img)[0].offsetWidth + 4; // including border
|
||||
img.style.width = '100%';
|
||||
|
|
Loading…
Reference in New Issue