Skip to content

Commit

Permalink
🔥 remove references to #custom-css
Browse files Browse the repository at this point in the history
  • Loading branch information
t4k committed Dec 19, 2023
1 parent 1d7512d commit 871df37
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions libguides.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ document.addEventListener("DOMContentLoaded", function(event) {
var admin = true;
console.log("‼️ ADMIN");
// remove elements that conflict with the LibGuides admin UI
document.getElementById("custom-css").remove();
document.getElementById("libguides-css").remove();
document.getElementById("bootstrap-css").remove();
// display admin-only content (elements have style="display:none" set)
Expand Down Expand Up @@ -53,7 +52,6 @@ document.addEventListener("DOMContentLoaded", function(event) {
// Remove Website CSS from `Guides` Group content.
if (document.getElementById("s-lib-bc-group")) {
if (document.getElementById("s-lib-bc-group").textContent == "Guides") {
document.getElementById("custom-css").remove();
document.getElementById("libguides-css").remove();
}
}
Expand Down

0 comments on commit 871df37

Please sign in to comment.