Compare commits
2 Commits
2b8dba9c0b
...
94a84ecfe4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
94a84ecfe4 | ||
|
|
d2730a58fe |
@ -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)
|
||||
|
||||
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user