mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 00:15:46 +01:00
Merge remote-tracking branch 'origin/master' into webserver.js-refactor
This commit is contained in:
@@ -218,9 +218,10 @@ var socket,
|
||||
$('#' + params.location).prepend(alert.fadeIn('100'));
|
||||
|
||||
if(typeof params.closefn === 'function') {
|
||||
alert.find('button').on('click', function () {
|
||||
alert.find('button').on('click', function() {
|
||||
params.closefn();
|
||||
fadeOut();
|
||||
return false;
|
||||
});
|
||||
}
|
||||
});
|
||||
@@ -407,7 +408,7 @@ var socket,
|
||||
return;
|
||||
}
|
||||
|
||||
if (!app.username) {
|
||||
if (!app.uid) {
|
||||
app.alert({
|
||||
type: 'danger',
|
||||
title: 'Not Logged In',
|
||||
|
||||
Reference in New Issue
Block a user