Fix indentation for ESLint

This commit is contained in:
Jonathan Bennett 2022-01-22 13:37:44 -06:00
parent abbd27d1cb
commit d110987935
1 changed files with 8 additions and 8 deletions

View File

@ -51,14 +51,14 @@ function initCycle() {
if ( scale == '0' || scale == 'auto' ) changeScale(); if ( scale == '0' || scale == 'auto' ) changeScale();
if (monitorData[monIdx].janusEnabled) { if (monitorData[monIdx].janusEnabled) {
if (ZM_JANUS_PATH) { if (ZM_JANUS_PATH) {
server = ZM_JANUS_PATH; server = ZM_JANUS_PATH;
} else if (window.location.protocol=='https:') { } else if (window.location.protocol=='https:') {
// Assume reverse proxy setup for now // Assume reverse proxy setup for now
server = "https://" + window.location.hostname + "/janus"; server = "https://" + window.location.hostname + "/janus";
} else { } else {
server = "http://" + window.location.hostname + ":8088/janus"; server = "http://" + window.location.hostname + ":8088/janus";
} }
opaqueId = "streamingtest-"+Janus.randomString(12); opaqueId = "streamingtest-"+Janus.randomString(12);
Janus.init({debug: "all", callback: function() { Janus.init({debug: "all", callback: function() {
janus = new Janus({ janus = new Janus({