ayarlar sayfasına kapatma butonu ekleme denemesi.

This commit is contained in:
2026-07-28 06:40:37 +02:00
parent 3998f8d632
commit 8cf08ec82d
+5
View File
@@ -41,6 +41,11 @@ export async function renderSettings(pb, currentBg, onBgSelect) {
</div> </div>
`; `;
document.getElementById("closeBtn").addEventListener("click", () => {
activeTab = "desktop";
render();
});
return { return {
html, html,
initEvents: (container) => { initEvents: (container) => {