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

This commit is contained in:
JC Brand 2013-12-17 18:51:47 +02:00
parent c8bf0491c8
commit 7b2d16afbc

View File

@ -396,7 +396,7 @@
this.initStatus($.proxy(function () {
this.initRoster();
this.chatboxes.onConnected();
this.connection.roster.get();
this.connection.roster.get(function () {});
$(document).click(function() {
if ($('.toggle-otr ul').is(':visible')) {
$('.toggle-otr ul', this).slideUp();