mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 15:05:46 +01:00
even:alert socket call -> app.alert
This commit is contained in:
@@ -70,6 +70,10 @@ app.cacheBuster = null;
|
||||
window.location.href = config.relative_path + '/';
|
||||
}, 1000);
|
||||
});
|
||||
|
||||
socket.on('event:alert', function(data) {
|
||||
app.alert(data);
|
||||
});
|
||||
}
|
||||
|
||||
function onSocketConnect(data) {
|
||||
|
||||
Reference in New Issue
Block a user