mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-11 20:26:54 -04:00
Fix eslint
This commit is contained in:
1 parent
4c512aa111
commit
9a083b38ab
1 file changed
+3
-2
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user