bibekyess commited on
Commit
83ba68a
·
1 Parent(s): c0d2247

Deactivate weekend blocking for debugging

Browse files
Files changed (1) hide show
  1. script.js +4 -4
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
- 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');
 
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');