Remove console.log from JavaScript
This commit is contained in:
parent
6d21fe7f5b
commit
b0a8231ce1
|
@ -19,7 +19,6 @@ jQuery(document).ready(function($) {
|
||||||
processData: false,
|
processData: false,
|
||||||
error: function(jqXHR, status, error) {
|
error: function(jqXHR, status, error) {
|
||||||
var data = jqXHR.responseJSON;
|
var data = jqXHR.responseJSON;
|
||||||
console.log(error);
|
|
||||||
var alert = $("<div></div>").addClass("alert alert-danger").text(data.message);
|
var alert = $("<div></div>").addClass("alert alert-danger").text(data.message);
|
||||||
|
|
||||||
$("#jsform .alert:not(.alert-primary)").remove();
|
$("#jsform .alert:not(.alert-primary)").remove();
|
||||||
|
|
Loading…
Reference in New Issue