temporary quick n dirty fix

This commit is contained in:
Paul Liverman III 2018-04-24 17:57:45 -07:00
parent dbfa8280b2
commit 9d37c24dae

View File

@ -27,7 +27,8 @@ function new_task() {
})
.fail(function(request) {
let input = $("input", template);
input.after("ERROR:" + request.responseJSON.errors.join(" "))
input.after("ERROR:" + request.responseJSON.errors.join(" "));
input.next()
.css("background-color", "red")
.css("color", "white");
input.remove();
@ -47,7 +48,6 @@ function new_api_key() {
$("#new-api-key").before(template);
})
.fail(function(request) {
console.log(request);
$("code", template)
.css("background-color", "red")
.css("color", "white")