MCPcopy Index your code
hub / github.com/spicetify/cli / deactivate

Function deactivate

Extensions/fullAppDisplay.js:829–843  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

827 }
828
829 function deactivate() {
830 if (CONFIG.enableFullscreen || document.webkitIsFullScreen) {
831 document.exitFullscreen();
832 }
833 toggleCursor(true);
834 document.body.classList.remove(...classes);
835 reactDOM.unmountComponentAtNode(container);
836 style.remove();
837 container.remove();
838 window.dispatchEvent(new Event("fad-request"));
839
840 if (lastApp && lastApp !== "/lyrics-plus") {
841 Spicetify.Platform.History.push(lastApp);
842 }
843 }
844
845 function toggleFad() {
846 if (document.body.classList.contains("fad-activated")) {

Callers 1

toggleFadFunction · 0.85

Calls 1

toggleCursorFunction · 0.85

Tested by

no test coverage detected