Skip to content

Commit ae27915

Browse files
yaqwsxqu1ck
authored andcommitted
Fix clash of 2f38736 with 39fc0c4
1 parent 883d0f2 commit ae27915

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

InteractiveHtmlBom/web/ibom.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ function populateBomBody(placeholderColumn = null, placeHolderElements = null) {
663663
var output = new Array();
664664
for (let item of valueSet) {
665665
const visible = highlightFilter(item);
666-
if (item.match(urlRegex)) {
666+
if (typeof item === 'string' && item.match(urlRegex)) {
667667
output.push(`<a href="${item}" target="_blank">${visible}</a>`);
668668
} else {
669669
output.push(visible);
@@ -1149,7 +1149,7 @@ document.onkeydown = function (e) {
11491149
boardRotationElement.value = settings.boardRotation
11501150
setBoardRotation(settings.boardRotation);
11511151
}
1152-
break;
1152+
break;
11531153
default:
11541154
break;
11551155
}

0 commit comments

Comments
 (0)