diff --git a/InteractiveHtmlBom/web/ibom.js b/InteractiveHtmlBom/web/ibom.js
index 9173095..d88a6f8 100644
--- a/InteractiveHtmlBom/web/ibom.js
+++ b/InteractiveHtmlBom/web/ibom.js
@@ -77,7 +77,7 @@ function setDarkMode(value) {
}
function setShowBOMColumn(field, value) {
- if (field === "references") {
+ if (field === "References") {
var rl = document.getElementById("reflookup");
rl.disabled = !value;
if (!value) {
diff --git a/InteractiveHtmlBom/web/util.js b/InteractiveHtmlBom/web/util.js
index e3f4947..a8ab365 100644
--- a/InteractiveHtmlBom/web/util.js
+++ b/InteractiveHtmlBom/web/util.js
@@ -590,6 +590,7 @@ function initDefaults() {
hcols = [];
}
settings.hiddenColumns = hcols.filter(e => fields.includes(e));
+ document.getElementById("reflookup").disabled = settings.hiddenColumns.includes("References");
var cord = JSON.parse(readStorage("columnOrder"));
if (cord === null) {