Fix streamQuery => streamCmdQuery. Fixes #3507

pull/3509/head
Isaac Connor 2022-06-16 09:58:26 -04:00
parent 29d8441227
commit 58fedd8c35
1 changed files with 1 additions and 2 deletions

View File

@ -164,7 +164,7 @@ function MonitorStream(monitorData) {
console.log("Changing src from " + img.src + " to " + newSrc);
img.src = '';
img.src = newSrc;
this.streamCmdTimer = setTimeout(this.streamQuery.bind(this), statusRefreshTimeout);
this.streamCmdTimer = setTimeout(this.streamCmdQuery.bind(this), statusRefreshTimeout);
}
}
}; // setscale
@ -214,7 +214,6 @@ function MonitorStream(monitorData) {
stream.src = '';
stream.src = src;
}
//this.streamCmdTimer = setTimeout(this.streamQuery.bind(this), delay);
stream.onerror = this.img_onerror.bind(this);
stream.onload = this.img_onload.bind(this);
}; // this.start