diff --git a/static/js/custom.js b/static/js/custom.js index 9448c00..96afb2e 100644 --- a/static/js/custom.js +++ b/static/js/custom.js @@ -837,7 +837,7 @@ function toggle_route(route_id, current_state, page) { data: JSON.stringify(data), contentType: "application/json", success: function(response) { - console.log(response) + console.log(SON.stringify(response.body.message)) if (element.className == disabledClass) { element.className = enabledClass action_taken = "enabled."