CQ fixes
This commit is contained in:
@@ -209,11 +209,11 @@
|
||||
// Determine return URL based on referrer
|
||||
function getReturnUrl() {
|
||||
const referrer = document.referrer;
|
||||
if (referrer.includes('/feedings.html')) {
|
||||
return '/feedings.html';
|
||||
if (referrer.includes("/feedings.html")) {
|
||||
return "/feedings.html";
|
||||
}
|
||||
// Default to home page
|
||||
return '/';
|
||||
return "/";
|
||||
}
|
||||
|
||||
const form = document.getElementById("logFeedingForm");
|
||||
@@ -287,7 +287,7 @@
|
||||
`;
|
||||
} else {
|
||||
// Multiple children: show dropdown (clear placeholder first)
|
||||
childSelect.innerHTML = '';
|
||||
childSelect.innerHTML = "";
|
||||
children.forEach((child) => {
|
||||
const option = document.createElement("option");
|
||||
option.value = child.id;
|
||||
|
||||
Reference in New Issue
Block a user