Paired with is now properly saved, bonfire challenge framework is almost ready for release

This commit is contained in:
Nathan Leniz
2015-01-24 13:40:58 -05:00
parent 4128b3b765
commit 0ca042a1f0
3 changed files with 3 additions and 4 deletions

View File

@@ -71,7 +71,8 @@ $(document).ready(function() {
$('.next-bonfire-button').on('click', function() {
var bonfireSolution = myCodeMirror.getValue();
var thisBonfireHash = passedBonfireHash || null;
var didCompleteWith = $('#completed-with').text() || null;
var didCompleteWith = $('#completed-with').val() || null;
console.log(didCompleteWith);
console.log(bonfireSolution, thisBonfireHash);
completedBonfire(didCompleteWith, bonfireSolution, thisBonfireHash);
l = location.pathname.split('/');