Skip to content

Commit 1488d3f

Browse files
committed
CodeQL findings
1 parent 1f60f30 commit 1488d3f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

assets/webconfig/js/content_network.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ $(document).ready(function () {
2727
if (isProtoBufEnabled) createSection("protoServer", "edt_conf_protoServer_heading_title", window.schema.protoServer.properties, "protoServerHelpPanelId");
2828
if (isForwarderEnabled && storedAccess !== 'default') createSection("forwarder", "edt_conf_forwarder_heading_title", window.schema.forwarder.properties, "forwarderHelpPanelId");
2929
} else {
30-
$('#conf_cont').addClass('row')
30+
$('#conf_cont').addClass('row');
3131
appendPanel("network", "edt_conf_network_heading_title");
3232
appendPanel("jsonServer", "edt_conf_jsonServer_heading_title");
3333
if (isFlatbufEnabled) appendPanel("flatbufServer", "edt_conf_flatbufSserver_heading_title");

assets/webconfig/js/ui_utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1251,7 +1251,7 @@ function createSelGroup(group) {
12511251
function createSelOpt(opt, title = opt) {
12521252
const el = document.createElement('option');
12531253
el.setAttribute('value', opt);
1254-
el.innerHTML = title;
1254+
el.textContent = title;
12551255
return el;
12561256
}
12571257

0 commit comments

Comments
 (0)