Skip to content
Open
Changes from all commits
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
12 changes: 6 additions & 6 deletions src/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ function booleanLookup(v) {
}

function booleanPanel(label, value) {

let unsure = `<p class="text-center"><i class="fa fa-question fa-2x" aria-hidden="true"></i><br><small>Unsure</small></p>`

var p;
Expand Down Expand Up @@ -105,9 +104,7 @@ function booleanPanel(label, value) {
return markup;
}


// Some code to help figure out Good Friday

function padout(number) {
return (number < 10) ? '0' + number : number;
}
Expand Down Expand Up @@ -276,8 +273,9 @@ function syncSidebar() {
}
}
});

var count = $("#feature-list tbody tr").length;
//console.log(count);

/* Update list.js featureList */
featureList = new List("features", {
valueNames: ["feature-name"],
Expand Down Expand Up @@ -419,10 +417,12 @@ function parseDateTimes(fishfry_events) {
datecounter++;
eventList_Future.push(s);
});

if (!OpenGoodFriday && datecounter > 0) {
s = "Closed on Good Friday";
eventList_Future.push(s);
}

//console.log(eventList);
return {
today: eventList_Today,
Expand Down Expand Up @@ -543,6 +543,7 @@ var fishfrys = L.geoJson(null, {
}
}
});

/**
* Request the GeoJSON, add it to the layer and add the layer to the map
*/
Expand Down Expand Up @@ -682,7 +683,6 @@ map.addControl(
})
);


var attributionControl = L.control.attribution({
position: "bottomright",
prefix: "<a href='http://codeforpittsburgh.github.io'>Code for Pittsburgh</a>"
Expand Down Expand Up @@ -996,4 +996,4 @@ if (!L.Browser.touch) {
);
} else {
L.DomEvent.disableClickPropagation(container);
}
}