ayarlar sayfasına kapatma butonu ekleme denemesi.
This commit is contained in:
@@ -97,6 +97,11 @@ async function render() {
|
|||||||
pb.authStore.clear();
|
pb.authStore.clear();
|
||||||
render();
|
render();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
document.getElementById("closeBtn").addEventListener("click", () => {
|
||||||
|
activeTab = "desktop";
|
||||||
|
render();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function renderLogin() {
|
function renderLogin() {
|
||||||
|
|||||||
@@ -41,11 +41,6 @@ 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) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user