Improve firefox compatibility.

This commit is contained in:
chriz
2026-01-27 14:59:57 +01:00
parent 934014c68c
commit 5a11515c36
3 changed files with 8 additions and 5 deletions
+2 -2
View File
@@ -42,9 +42,9 @@ function createPortTable() {
for (let i = 1; i <= numPorts; i++) {
let td = tr.insertCell();
if (pIsSFP[i-1])
td.innerHTML = '<object type="image/svg+xml" data="sfp.svg", width="60"</object>'
td.innerHTML = '<object type="image/svg+xml" data="sfp.svg" width="60"></object>'
else
td.innerHTML = '<object type="image/svg+xml" data="port.svg", width="40"</object>'
td.innerHTML = '<object type="image/svg+xml" data="port.svg" width="40"></object>'
}
tr = tbl.insertRow();
for (let i = 1; i <= numPorts; i++) {