Bugfix. The 'get' function complains when there's no callback
This commit is contained in:
parent
c8bf0491c8
commit
7b2d16afbc
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user