Fix eslint

This commit is contained in:
Isaac Connor committed 2025-10-02 11:16:14 -04:00
1 parent 4c512aa111
commit 9a083b38ab
1 file changed
+3 -2
+3 -2
View File
@@ -612,7 +612,8 @@ function random_WebColour() {
function buffer_setting_oninput(e) {
const max_image_buffer_count = document.getElementById('newMonitor[MaxImageBufferCount]');
const pre_event_count = document.getElementById('newMonitor[PreEventCount]');
if (parseInt(max_image_buffer_count.value) &&
if (parseInt(max_image_buffer_count.value)
&&
(parseInt(pre_event_count.value) > parseInt(max_image_buffer_count.value))
) {
if (this.id == 'newMonitor[PreEventCount]') {
@@ -716,7 +717,7 @@ function update_players() {
((-1 != key.indexOf('rtsp2web')) && !rtsp2web_enabled)
||
((-1 != key.indexOf('janus')) && !janus_enabled)
) {
) {
console.log("not adding ", key, go2rtc_enabled, rtsp2web_enabled, janus_enabled);
} else {
dropdown.append($j('<option></option>').attr('value', key).text(entry));