Merge branch 'socketAL-fix' of https://github.com/designcreateplay/NodeBB into socketAL-fix

This commit is contained in:
Baris Soner Usakli
2014-01-16 19:59:03 -05:00
4 changed files with 9 additions and 15 deletions

View File

@@ -92,7 +92,7 @@ define(['composer'], function(composer) {
var loadingEl = document.getElementById('categories-loading');
if (loadingEl) {
socket.emit('categories.get', function(data) {
socket.emit('categories.get', function(err, data) {
// Render categories
var categoriesFrag = document.createDocumentFragment(),
categoryEl = document.createElement('li'),