Edits comment.
This commit is contained in:
parent
46074dbd8c
commit
3fc819d12e
1
app.js
1
app.js
|
@ -736,6 +736,7 @@ $(document).bind('left.muc', function (event, jid) {
|
||||||
'disconnected');
|
'disconnected');
|
||||||
// Need to call this with a slight delay, otherwise the element couldn't be
|
// Need to call this with a slight delay, otherwise the element couldn't be
|
||||||
// found for some reason.
|
// found for some reason.
|
||||||
|
// XXX(gp) it works fine without the timeout for me (with Chrome 38).
|
||||||
window.setTimeout(function () {
|
window.setTimeout(function () {
|
||||||
var container = document.getElementById(
|
var container = document.getElementById(
|
||||||
'participant_' + Strophe.getResourceFromJid(jid));
|
'participant_' + Strophe.getResourceFromJid(jid));
|
||||||
|
|
Loading…
Reference in New Issue