mirror of
https://github.com/minio/docs.git
synced 2025-07-27 08:41:57 +03:00
Fix headerlink and update code styles (#559)
This commit is contained in:
@ -368,4 +368,18 @@ window.addEventListener("DOMContentLoaded", (event) => {
|
||||
});
|
||||
}
|
||||
})();
|
||||
|
||||
|
||||
// --------------------------------------------------
|
||||
// Headerlink wrappers
|
||||
// --------------------------------------------------
|
||||
(function () {
|
||||
const headerlinkEls = document.querySelectorAll(".headerlink");
|
||||
if(headerlinkEls.length > 0) {
|
||||
headerlinkEls.forEach((item) => {
|
||||
var parent = item.parentNode;
|
||||
parent.classList.add("headerlink-wrapper");
|
||||
});
|
||||
}
|
||||
})();
|
||||
});
|
Reference in New Issue
Block a user