added functionality to post button. also introduced some underlying concepts regarding modules and pulling template vars

This commit is contained in:
psychobunny
2013-06-05 17:00:58 -04:00
parent a846caa387
commit 5bb9933f4a
4 changed files with 35 additions and 4 deletions

View File

@@ -191,6 +191,11 @@ var socket,
socket.emit('api:user.get_online_users', uids);
}
// here is where all modules' onNavigate should be called, I think.
require(['mobileMenu'], function(mobileMenu) {
mobileMenu.onNavigate();
});
populate_online_users();