mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-06 12:31:33 +01:00
removed console logs
This commit is contained in:
@@ -85,7 +85,6 @@ define('forum/account/edit', ['forum/account/header', 'uploader', 'translator'],
|
||||
.text(ajaxify.data['icon:text']);
|
||||
|
||||
if (uploadedPicture) {
|
||||
console.log("DERP");
|
||||
modal.find('#user-uploaded-picture').attr('src', uploadedPicture);
|
||||
}
|
||||
|
||||
|
||||
@@ -71,7 +71,6 @@ define('forum/topic/browsing', function() {
|
||||
if (!user.userslug) {
|
||||
return;
|
||||
}
|
||||
console.log(user);
|
||||
var browsingList = $('[component="topic/browsing/list"]');
|
||||
var userEl = createUserIcon(user.uid, user.picture, user.userslug, user.username, user['icon:bgColor'], user['icon:text']);
|
||||
var isSelf = parseInt(user.uid, 10) === parseInt(app.user.uid, 10);
|
||||
@@ -88,7 +87,6 @@ define('forum/topic/browsing', function() {
|
||||
|
||||
function createUserIcon(uid, picture, userslug, username, iconBg, iconText) {
|
||||
if (!$('[component="topic/browsing/list"]').find('[data-uid="' + uid + '"]').length) {
|
||||
console.log(iconBg, iconText);
|
||||
var imgOrIcon = picture ?
|
||||
'<img src="'+ picture +'" />' :
|
||||
'<div class="user-icon" style="background-color: ' + iconBg + ';">' + iconText + '</div>';
|
||||
|
||||
Reference in New Issue
Block a user