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

This commit is contained in:
psychobunny
2015-04-21 20:05:35 -04:00
parent 213ee2d063
commit 89c863caa7

View File

@@ -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());
}