remove field guide cruft and update all field guide links to wiki

This commit is contained in:
Quincy Larson
2015-07-31 21:55:49 -07:00
parent fd68501e16
commit feab8b508e
24 changed files with 74 additions and 1718 deletions

View File

@@ -114,28 +114,6 @@ $(document).ready(function() {
}
});
function completedFieldGuide(fieldGuideId) {
if ($('.signup-btn-nav').length < 1) {
$.post(
'/completed-field-guide',
{
fieldGuideInfo: {
fieldGuideId: fieldGuideId
}
},
function(res) {
if (res) {
window.location.href = '/field-guide'
}
});
}
}
$('.next-field-guide-button').on('click', function() {
var fieldGuideId = $('#fieldGuideId').text();
completedFieldGuide(fieldGuideId);
});
$("img").error(function () {
$(this).unbind("error").attr("src", "https://s3.amazonaws.com/freecodecamp/camper-image-placeholder.png");
});