mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 06:55:46 +01:00
allowed the "forum updated" message to show up for reloads as well
This commit is contained in:
@@ -35,7 +35,11 @@ SocketMeta.reconnected = function(socket, data, callback) {
|
||||
};
|
||||
|
||||
emitter.on('nodebb:ready', function() {
|
||||
websockets.server.sockets.emit('event:nodebb.ready', meta.config['cache-buster']);
|
||||
websockets.server.sockets.emit('event:nodebb.ready', {
|
||||
general: meta.config['cache-buster'],
|
||||
css: meta.css.hash,
|
||||
js: meta.js.hash
|
||||
});
|
||||
});
|
||||
|
||||
SocketMeta.buildTitle = function(socket, text, callback) {
|
||||
|
||||
Reference in New Issue
Block a user