Spaces:
Sleeping
Sleeping
Deactivate weekend blocking for debugging
Browse files
script.js
CHANGED
@@ -50,10 +50,10 @@ async function displayRestaurants() {
|
|
50 |
document.getElementById('currentDate').innerText = `Today is ${formattedDate}`;
|
51 |
|
52 |
// Only display suggestions on weekdays
|
53 |
-
if (day === 0 || day === 6) {
|
54 |
-
|
55 |
-
|
56 |
-
}
|
57 |
|
58 |
const dateKey = today.toISOString().split('T')[0];
|
59 |
let savedData = localStorage.getItem('restaurantSuggestions');
|
|
|
50 |
document.getElementById('currentDate').innerText = `Today is ${formattedDate}`;
|
51 |
|
52 |
// Only display suggestions on weekdays
|
53 |
+
// if (day === 0 || day === 6) {
|
54 |
+
// document.getElementById('restaurants').innerHTML = "No suggestions available today!";
|
55 |
+
// return;
|
56 |
+
// }
|
57 |
|
58 |
const dateKey = today.toISOString().split('T')[0];
|
59 |
let savedData = localStorage.getItem('restaurantSuggestions');
|