making keys readable after failing to delete them

This commit is contained in:
Paul Liverman III 2018-04-24 19:27:12 -07:00
parent 3cb4a3e0ae
commit 75d4236522

View File

@ -96,8 +96,8 @@ function delete_item(e) {
e.remove(); e.remove();
}) })
.fail(function(request) { .fail(function(request) {
console.log(request);
add_error($(".row", e)); add_error($(".row", e));
code.css("color", "black"); // make key still readable
e.css("display", "block"); e.css("display", "block");
}); });
return; return;