Skip to content

Commit

Permalink
Remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
quadrophobiac committed Aug 23, 2017
1 parent a9501d8 commit d4dd150
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions views/index.erb
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,13 @@
})
.always(function(data, textStatus) {
if (data.status == 404) {
console.log(JSON.stringify(data, null, 4))
$input.parent('div').removeClass('has-danger')
$input.parent('div').addClass('has-success')
$input.removeClass('form-control-danger')
$input.addClass('form-control-success')
$input.parent('div').find('.form-control-feedback').html("Your Bothan instance will be hosted at https://" + slug + ".herokuapp.com")
$('#submit').attr('disabled', false)
} else {
console.log(JSON.stringify(data, null, 4))
$input.parent('div').removeClass('has-success')
$input.parent('div').addClass('has-danger')
$input.removeClass('form-control-success')
Expand Down

0 comments on commit d4dd150

Please sign in to comment.