mirror of
https://github.com/SrIzan10/vdo.ninja.git
synced 2026-05-01 11:05:24 +00:00
Fix turning off torch remotely from director view
This commit is contained in:
8
lib.js
8
lib.js
@@ -32238,7 +32238,7 @@ function updateDirectorsAudio(dataN, UUID) {
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if (i.toLowerCase == "torch") {
|
||||
} else if (i.toLowerCase() == "torch") {
|
||||
var opt = new Option("Off", false);
|
||||
input.options.add(opt);
|
||||
opt = new Option("On", true);
|
||||
@@ -32680,7 +32680,7 @@ function updateDirectorsVideo(data, UUID) {
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if (i.toLowerCase == "torch") {
|
||||
} else if (i.toLowerCase() == "torch") {
|
||||
var opt = new Option("Off", false);
|
||||
input.options.add(opt);
|
||||
opt = new Option("On", true);
|
||||
@@ -33480,7 +33480,7 @@ function listAudioSettings() {
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if (i.toLowerCase == "torch") {
|
||||
} else if (i.toLowerCase() == "torch") {
|
||||
var opt = new Option("Off", false);
|
||||
input.options.add(opt);
|
||||
opt = new Option("On", true);
|
||||
@@ -34146,7 +34146,7 @@ function listCameraSettings() {
|
||||
opt.selected = "true";
|
||||
}
|
||||
}
|
||||
} else if (i.toLowerCase == "torch") {
|
||||
} else if (i.toLowerCase() == "torch") {
|
||||
warnlog("TORCH");
|
||||
var opt = new Option("Off", false);
|
||||
input.options.add(opt);
|
||||
|
||||
Reference in New Issue
Block a user