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

Function applyCompactPlayer

theme.js:4250–4254  ·  view source on GitHub ↗
(mode)

Source from the content-addressed store, hash-verified

4248 }
4249 function restoreOriginal(el) {
4250 if (!ORIGINALS.has(el)) return;
4251 const orig = ORIGINALS.get(el);
4252 const img = getImgElem(el);
4253 if (orig.type === "img" && img) img.src = orig.src || "";
4254 else if (orig.type === "bg") {
4255 const html = el;
4256 html.style.backgroundImage = orig.bg || "";
4257 html.style.backgroundRepeat = "";

Callers 2

handleResetFunction · 0.85
SettingsContentFunction · 0.85

Calls 1

updateCssFunction · 0.85

Tested by

no test coverage detected