Merge branch 'master' of github.com:designcreateplay/NodeBB

v1.18.x
Julian Lam 12 years ago
commit ca13d8dd33

@ -38,8 +38,10 @@
var userLabel = document.createElement('li'), var userLabel = document.createElement('li'),
logoutEl = document.createElement('li'); logoutEl = document.createElement('li');
userLabel.innerHTML = '<a href="/users/' + data['username'] + '">' +
'<img src="' + data['picture'] + '?s=24&default=identicon" />' +
userLabel.innerHTML = '<a id="user_label" href="/users/' + data['username'] + '">' +
'<img src="' + data['picture'] + '?s=24&default=identicon"/>' +
'<span>' + data['username'] + '</span>' + '<span>' + data['username'] + '</span>' +
'</a>'; '</a>';
logoutEl.innerHTML = '<a href="/logout">Log out</a>'; logoutEl.innerHTML = '<a href="/logout">Log out</a>';

Loading…
Cancel
Save