Merge commit 'refs/pull/90/head' of https://github.com/MathMan05/JankClient

This commit is contained in:
MathMan05
2025-03-20 13:13:31 -05:00
7 changed files with 45 additions and 5 deletions

View File

@@ -31,4 +31,4 @@
"email": "greysilly7@gmail.com"
}
}
]
]

View File

@@ -8,6 +8,9 @@
],
"start_url": "/channels/@me",
"display": "standalone",
"scope": "/",
"theme_color": "#05050a",
"description": "Welcome to the Jank Client, a spacebar FOSS client implementation",
"background_color": "#05050a",
"offline_enabled": true
}

View File

@@ -1431,6 +1431,12 @@ class Settings extends Buttons {
exit.onclick = (_) => {
this.hide();
};
onkeyup = (event) => {
if (event.key === "Escape") {
// Cancel the default action, if needed
this.hide()
}
}
document.body.append(background);
this.html = background;
}