1
0
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:
Rushan
2022-09-15 23:50:49 +04:00
committed by GitHub
parent 42bb882c8b
commit e3e22d332b
4 changed files with 54 additions and 18 deletions

View File

@ -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");
});
}
})();
});