this bit wasn't needed
All checks were successful
/ build (push) Successful in 3m12s

This commit is contained in:
Ruben 2025-07-23 20:13:16 -05:00
commit 74d34e52e7
Signed by: sneexy
GPG key ID: 8ECFA045E63BC583
2 changed files with 1 additions and 9 deletions

View file

@ -42,12 +42,4 @@
childList: true,
subtree: true
});
// also run immediately as a backup
roundifyLoggedOut();
// and once it finishes loading
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', roundifyLoggedOut);
}
})();

View file

@ -1 +1 @@
!function(){"use strict";function t(){const t=localStorage.getItem("account"),n=document.querySelector('[class*="visitor-root-"]');!t&&n&&(document.documentElement.classList.add("radius-misskey"),e.disconnect())}const e=new MutationObserver(function(e){e.forEach(function(e){("attributes"===e.type&&"class"===e.attributeName||"childList"===e.type)&&t()})});e.observe(document.documentElement,{attributes:!0,attributeFilter:["class"],childList:!0,subtree:!0}),e.observe(document.body,{childList:!0,subtree:!0}),t(),"loading"===document.readyState&&document.addEventListener("DOMContentLoaded",t)}();
!function(){"use strict";const t=new MutationObserver(function(e){e.forEach(function(e){("attributes"===e.type&&"class"===e.attributeName||"childList"===e.type)&&function(){const e=localStorage.getItem("account"),s=document.querySelector('[class*="visitor-root-"]');!e&&s&&(document.documentElement.classList.add("radius-misskey"),t.disconnect())}()})});t.observe(document.documentElement,{attributes:!0,attributeFilter:["class"],childList:!0,subtree:!0}),t.observe(document.body,{childList:!0,subtree:!0})}();