Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated library and 311 WPRDC IDs and Sidebar fix #142

Merged
merged 3 commits into from
Jan 25, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Set sidebarToggle to closed by default
  • Loading branch information
seifriedc committed Jan 23, 2018
commit b3c36a671d32406863b368afa88cae0436b721e3
3 changes: 1 addition & 2 deletions map.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@

const sidebar = document.getElementById("sidebar");
const sidebarToggle = document.getElementById("sidebarToggle");
sidebarToggle.open = 1;

L.tileLayer("http:https://{s}.tile.osm.org/{z}/{x}/{y}.png", {
attribution: "&copy; <a href=\"http:https://osm.org/copyright\">OpenStreetMap</a> contributors"
Expand Down Expand Up @@ -682,7 +681,7 @@

//Start with sidebar closed if mobile
if (screen.width <= 800) {
sidebarToggle.open = 1;
sidebarToggle.open = 0;
sidebar.className = "mapMode hidden";
sidebarToggle.className = "fa fa-chevron-right fa-2x";
} else {
Expand Down