mirror of
https://github.com/sstent/foodplanner.git
synced 2026-01-26 11:41:39 +00:00
updated the tracker to have more features
This commit is contained in:
@@ -477,7 +477,7 @@
|
||||
});
|
||||
// Show add single food modal and pre-select meal time
|
||||
function addSingleFoodToTime(mealTime) {
|
||||
document.querySelector('#addSingleFoodModal select[name="meal_time"]').value = mealTime;
|
||||
document.getElementById('addSingleFoodMealTime').value = mealTime;
|
||||
new bootstrap.Modal(document.getElementById('addSingleFoodModal')).show();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user