messages
This commit is contained in:
Witkopawel
2025-06-02 13:34:32 +02:00
parent a4cea4eeb3
commit fd6c4dfb11
16 changed files with 563 additions and 76 deletions

View File

@@ -35,7 +35,7 @@ document.addEventListener("DOMContentLoaded", () => __awaiter(void 0, void 0, vo
unhideElementById(document, "orgno");
}
}
catch (_a) {
catch (e) {
window.location.href = "login.html";
}
var thisAccount = null;
@@ -63,7 +63,7 @@ document.addEventListener("DOMContentLoaded", () => __awaiter(void 0, void 0, vo
try {
const registeredIds = yield getMyRegisteredEventIds();
}
catch (_b) {
catch (e) {
}
}
unhideElementById(document, "mainContainer");
@@ -76,7 +76,7 @@ window.onload = () => {
const skillName = dropdown.options[dropdown.selectedIndex].text;
const skillId = dropdown.options[dropdown.selectedIndex].value;
if (skillName) {
addSkill(skillName, skillId, false);
addSkill(skillName, Number(skillId), false);
dropdown.value = ''; // Reset dropdown
}
});