Closed seifriedc closed 6 years ago
//Start with sidebar closed if mobile
if (screen.width <= 800) {
sidebarToggle.open = 1;
...
}
Are you sure this closes the sidebar? Wouldn't open = 1
mean the sidebar is opened by default? I also saw above this you have:
58. sidebarToggle.open = 1;
This indicates the sidebar will initially be open on both mobile and desktop by default. Therefore, this line is no longer needed if we set sidebarToggle.open = 1
in the following if statements that you moved.
Yes, sorry you're right on both accounts. First one might have been a typo. I'll fix this real quick
@seifriedc Looks good to me. I checked both of your previous two commits. Merging...
Fixed GET errors, data shows up on the map without errors now. Also made the sidebar closed on mobile by default to close #136.