Skip to content
Snippets Groups Projects
Commit 13d612e4 authored by kopareigns's avatar kopareigns
Browse files

Removed spammy console.logs

parent ed2dda16
No related branches found
No related tags found
No related merge requests found
......@@ -67,21 +67,14 @@ window.sortIncubatorPossiblesByReservedSpots = function () {
window.sortIncubatorPossiblesByPreviousSort = function () {
var sort = State.variables.sortIncubatorList;
console.log(State.variables);
console.log('sort', sort);
if ('unsorted' !== sort) {
console.log("sort isn't unsorted", sort);
if ('Name' === sort) {
console.log("sort is name", sort);
sortIncubatorPossiblesByName();
} else if ('Reserved Incubator Spots' === sort) {
console.log("sort is spots", sort);
sortIncubatorPossiblesByReservedSpots();
} else if ('Pregnancy Week' === sort) {
console.log("sort is week", sort);
sortIncubatorPossiblesByPregnancyWeek();
} else if ('Number of Children' === sort) {
console.log("sort is count", sort);
sortIncubatorPossiblesByPregnancyCount();
}
}
......@@ -113,21 +106,14 @@ window.sortNurseryPossiblesByReservedSpots = function () {
window.sortNurseryPossiblesByPreviousSort = function () {
var sort = State.variables.sortNurseryList;
console.log(State.variables);
console.log('sort', sort);
if ('unsorted' !== sort) {
console.log("sort isn't unsorted", sort);
if ('Name' === sort) {
console.log("sort is name", sort);
sortNurseryPossiblesByName();
} else if ('Reserved Nursery Spots' === sort) {
console.log("sort is spots", sort);
sortNurseryPossiblesByReservedSpots();
} else if ('Pregnancy Week' === sort) {
console.log("sort is week", sort);
sortNurseryPossiblesByPregnancyWeek();
} else if ('Number of Children' === sort) {
console.log("sort is count", sort);
sortNurseryPossiblesByPregnancyCount();
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment