Compare commits

..

2 Commits

Author SHA1 Message Date
Yapollon
94a84ecfe4 Merge branch 'master' of https://repo.cimeyclust.com/CimeyClust/HabitTracker 2024-03-12 11:14:44 +01:00
Yapollon
d2730a58fe insane fix 2024-03-12 11:14:28 +01:00
2 changed files with 1 additions and 3 deletions

View File

@ -81,7 +81,6 @@ class User(UserMixin):
weekday = datetime.today().weekday()
heatmap = [100]
# 0, 1, 2, 3, 4, 5, 6
# append the heatmap values of the current week
for day in range(0, 6-weekday):
heatmap.append(0)

View File

@ -117,7 +117,7 @@ document.addEventListener("DOMContentLoaded", function() {
return new Promise((resolve, reject) => {
const passwordInput = document.getElementById(passwordId);
const passwordFeedback = document.getElementById(passwordFeedbackId);
const password = passwordInput.value.trim(); // Get the password entered by the user
const password = passwordInput.value; // Get the password entered by the user
if (!passwordInput.value.trim()) {
passwordFeedback.textContent = errorMessage;
passwordInput.classList.add("is-invalid");
@ -184,7 +184,6 @@ document.addEventListener("DOMContentLoaded", function() {
return isValid;
}
// Add event listener to edit button to open modal
DeleteAccountButton.addEventListener("click", function() {
confirmDeleteModal.show();