Update index.js

This commit is contained in:
Jeremy Thomas 2024-01-12 12:45:08 +00:00 committed by GitHub
parent c4f45535e8
commit 4268eb3e37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,7 +97,7 @@ document.addEventListener("DOMContentLoaded", function () {
response.forEach(function (item) { response.forEach(function (item) {
var el = document.createElement("a"); var el = document.createElement("a");
el.className = "bd-sponsor-item bd-partner-sponsor"; el.className = "bd-sponsor-item bd-partner-sponsor";
el.href = "url"; el.href = item.url;
el.target = "_blank"; el.target = "_blank";
el.title = item.title || item.id; el.title = item.title || item.id;
@ -110,4 +110,4 @@ document.addEventListener("DOMContentLoaded", function () {
}); });
}); });
} }
}); });