()
| 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")) { |
no test coverage detected