Merge pull request #4045 from IgorA100/patch-121

Fix: function "this.setMaxFPS" (MonitorStream.js)
pull/4047/head
Isaac Connor 2024-05-27 17:07:17 -04:00 committed by GitHub
commit 65a5745b63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -819,7 +819,7 @@ function MonitorStream(monitorData) {
this.setMaxFPS = function(maxfps) {
if (1) {
this.streamCommand({command: CMD_MAXFPS, maxfps: currentSpeed});
this.streamCommand({command: CMD_MAXFPS, maxfps: maxfps});
} else {
var streamImage = this.getElement();
const oldsrc = streamImage.attr('src');