removed global.io

This commit is contained in:
Baris Soner Usakli
2013-11-26 19:09:32 -05:00
parent f616125d02
commit 32b191fa62
10 changed files with 304 additions and 295 deletions

View File

@@ -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();
});
});

View File

@@ -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',