Skip to content

Commit

Permalink
Fix clash of 2f38736 with 39fc0c4
Browse files Browse the repository at this point in the history
  • Loading branch information
yaqwsx authored and qu1ck committed Jan 5, 2023
1 parent 883d0f2 commit ae27915
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions InteractiveHtmlBom/web/ibom.js
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ function populateBomBody(placeholderColumn = null, placeHolderElements = null) {
var output = new Array();
for (let item of valueSet) {
const visible = highlightFilter(item);
if (item.match(urlRegex)) {
if (typeof item === 'string' && item.match(urlRegex)) {
output.push(`<a href="${item}" target="_blank">${visible}</a>`);
} else {
output.push(visible);
Expand Down Expand Up @@ -1149,7 +1149,7 @@ document.onkeydown = function (e) {
boardRotationElement.value = settings.boardRotation
setBoardRotation(settings.boardRotation);
}
break;
break;
default:
break;
}
Expand Down

0 comments on commit ae27915

Please sign in to comment.