ayarlar sayfasına kapatma butonu ekleme denemesi.
This commit is contained in:
@@ -41,6 +41,11 @@ export async function renderSettings(pb, currentBg, onBgSelect) {
|
||||
</div>
|
||||
`;
|
||||
|
||||
document.getElementById("closeBtn").addEventListener("click", () => {
|
||||
activeTab = "desktop";
|
||||
render();
|
||||
});
|
||||
|
||||
return {
|
||||
html,
|
||||
initEvents: (container) => {
|
||||
|
||||
Reference in New Issue
Block a user