some changes

This commit is contained in:
2026-07-10 22:02:51 +02:00
parent 7bd28794d6
commit 6e6217e1e7
33 changed files with 757 additions and 2305 deletions
+3 -4
View File
@@ -43,11 +43,10 @@ function sendToast(type, title, message, persistent, important) {
function closeToast($toast) {
$toast.removeClass('show');
setTimeout(function () {
$toast.remove();
}, 300);
setTimeout(() => $toast.remove(), 300);
}
function capitalizeFirstLetter(string) {
return string.charAt(0).toUpperCase() + string.slice(1);
// JS doesn't have a native capitilzation function? What the actual fuck in the toy language?
return string.charAt(0).toUpperCase() + string.slice(1);
}