MCPcopy Create free account
hub / github.com/NMWplays/Glowify / applyLayoutRadiusCss

Function applyLayoutRadiusCss

theme.js:4264–4272  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4262 function applyMode(mode) {
4263 if (!isArtistPage()) return;
4264 const nodes = document.querySelectorAll(ART_SELECTOR);
4265 if (!nodes || nodes.length === 0) return;
4266 const customImage = getCustomImage();
4267 const customUrl = getCustomUrl();
4268 nodes.forEach((el) => {
4269 try {
4270 saveOriginalIfNeeded(el);
4271 const img = getImgElem(el);
4272 el.style.opacity = "0";
4273 if (mode === "theme") {
4274 restoreOriginal(el);
4275 el.style.opacity = "1";

Callers 4

setNavRadiusFunction · 0.85
setMainRadiusFunction · 0.85
setRightRadiusFunction · 0.85

Calls 2

readNumFunction · 0.85
updateStyleFunction · 0.85

Tested by

no test coverage detected