Edits comment.

This commit is contained in:
George Politis 2014-11-18 17:23:28 +01:00
parent 46074dbd8c
commit 3fc819d12e
1 changed files with 1 additions and 0 deletions

1
app.js
View File

@ -736,6 +736,7 @@ $(document).bind('left.muc', function (event, jid) {
'disconnected');
// Need to call this with a slight delay, otherwise the element couldn't be
// found for some reason.
// XXX(gp) it works fine without the timeout for me (with Chrome 38).
window.setTimeout(function () {
var container = document.getElementById(
'participant_' + Strophe.getResourceFromJid(jid));