mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-21 16:00:26 +01:00
app.user undefined on cold load
This commit is contained in:
@@ -58,7 +58,7 @@ define('forum/topic', [
|
||||
|
||||
$(window).trigger('action:topic.loaded');
|
||||
|
||||
if (app.user.uid) {
|
||||
if (app.uid) {
|
||||
socket.emit('topics.enter', tid, function(err, data) {
|
||||
if (err) {
|
||||
return app.alertError(err.message);
|
||||
|
||||
Reference in New Issue
Block a user