Julian Lam 9 years ago
parent 94f7db3e15
commit 5eede87d23

@ -27,6 +27,10 @@ $(document).ready(function() {
if (data.url.match('user/')) { if (data.url.match('user/')) {
setupFavouriteButtonOnProfile(); setupFavouriteButtonOnProfile();
} else if (data.url.match('^chats')) {
require(['persona/chats'], function(chats) {
chats.init();
});
} }
}); });
} }

@ -5,6 +5,7 @@
"lib/persona.js", "lib/persona.js",
"lib/modules/nprogress.js", "lib/modules/nprogress.js",
"lib/modules/autohidingnavbar.min.js", "lib/modules/autohidingnavbar.min.js",
"lib/modules/slideout.min.js" "lib/modules/slideout.min.js",
"lib/client/chats.js"
] ]
} }
Loading…
Cancel
Save