mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-15 18:26:15 +01:00
removed global.io
This commit is contained in:
@@ -72,6 +72,7 @@ define(['forum/accountheader'], function(header) {
|
||||
socket.on('event:new_post', function(data) {
|
||||
var html = templates.prepare(templates['account'].blocks['posts']).parse(data);
|
||||
$('.user-recent-posts').prepend(html);
|
||||
$('.user-recent-posts span.timeago').timeago();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
@@ -139,7 +139,7 @@
|
||||
});
|
||||
|
||||
socket.on('event:new_notification', function() {
|
||||
document.querySelector('.notifications a i').className = 'fa-circle active';
|
||||
document.querySelector('.notifications a i').className = 'fa fa-circle active';
|
||||
app.alert({
|
||||
alert_id: 'new_notif',
|
||||
title: 'New notification',
|
||||
|
||||
Reference in New Issue
Block a user