embarassing console.log's are allowed at 8pm on monday

v1.18.x
psychobunny 10 years ago
parent 213ee2d063
commit 89c863caa7

@ -31,13 +31,10 @@ $('document').ready(function() {
help = parent.children('.help-text');
function validateUsername(field) {
console.log('derp');
if (!utils.isUserNameValid(field) || !utils.slugify(field)) {
console.log('derp1');
parent.addClass('error');
help.html('Invalid Username.');
} else {
console.log('derp2');
parent.removeClass('error');
}
}
@ -70,7 +67,6 @@ $('document').ready(function() {
}
function switchDatabase(field) {
console.log(field);
$('#database-config').html($('[data-database="' + field + '"]').html());
}

Loading…
Cancel
Save