app.showEmailConfirmWarning :dull:

This commit is contained in:
Barış Soner Uşaklı
2015-03-11 13:34:57 -04:00
parent 940c33c426
commit 9d0b4f5841

View File

@@ -504,7 +504,7 @@ app.cacheBuster = null;
}); });
createHeaderTooltips(); createHeaderTooltips();
showEmailConfirmWarning(); app.showEmailConfirmWarning();
socket.removeAllListeners('event:nodebb.ready'); socket.removeAllListeners('event:nodebb.ready');
socket.on('event:nodebb.ready', function(cacheBusters) { socket.on('event:nodebb.ready', function(cacheBusters) {
@@ -537,7 +537,7 @@ app.cacheBuster = null;
}); });
}; };
function showEmailConfirmWarning(err) { app.showEmailConfirmWarning = function(err) {
if (!config.requireEmailConfirmation || !app.user.uid) { if (!config.requireEmailConfirmation || !app.user.uid) {
return; return;
} }
@@ -569,7 +569,7 @@ app.cacheBuster = null;
} }
}); });
} }
} };
showWelcomeMessage = window.location.href.indexOf('loggedin') !== -1; showWelcomeMessage = window.location.href.indexOf('loggedin') !== -1;