mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-18 05:22:48 +01:00
embarassing console.log's are allowed at 8pm on monday
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user