has to work now

workspace
Brendan Howell 4 years ago
parent b4cdb9a3c3
commit 326b8b0a21

@ -185,7 +185,7 @@
</div> </div>
<div id="forecast"> <div id="forecast">
<h2>Weather</h2> <h2>Weather</h2>
<%! <%
daycount = 0 daycount = 0
curr_day = "Today" curr_day = "Today"
%> %>
@ -198,7 +198,7 @@
<div class="weatherday"> <div class="weatherday">
<h6>${period["day"]}</h6> <h6>${period["day"]}</h6>
% endif % endif
<%! <%
if forecast[loop.index]["day"] != curr_day: if forecast[loop.index]["day"] != curr_day:
daycount += 1 daycount += 1
curr_day = forecast[loop.index]["day"] curr_day = forecast[loop.index]["day"]

Loading…
Cancel
Save