mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 16:05:49 +01:00
Merge branch 'master' of https://github.com/psychobunny/node-forum
This commit is contained in:
@@ -126,14 +126,6 @@ var socket,
|
||||
|
||||
// Posting
|
||||
jQuery('#post_window').slideToggle(0);
|
||||
|
||||
// Logout
|
||||
logoutEl.addEventListener('click', function() {
|
||||
socket.emit('api:user.logout');
|
||||
});
|
||||
socket.on('api:user.logout', function(data) {
|
||||
if (data.status === 'ok') alert('Logged out.');
|
||||
});
|
||||
})
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user