Commit 7b2d16af authored by JC Brand's avatar JC Brand

Bugfix. The 'get' function complains when there's no callback

parent c8bf0491
...@@ -396,7 +396,7 @@ ...@@ -396,7 +396,7 @@
this.initStatus($.proxy(function () { this.initStatus($.proxy(function () {
this.initRoster(); this.initRoster();
this.chatboxes.onConnected(); this.chatboxes.onConnected();
this.connection.roster.get(); this.connection.roster.get(function () {});
$(document).click(function() { $(document).click(function() {
if ($('.toggle-otr ul').is(':visible')) { if ($('.toggle-otr ul').is(':visible')) {
$('.toggle-otr ul', this).slideUp(); $('.toggle-otr ul', this).slideUp();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment