Commit 734d5b65 authored by JC Brand's avatar JC Brand

Bugfix. Didn't add "bind".

parent 939c6263
...@@ -5079,7 +5079,7 @@ ...@@ -5079,7 +5079,7 @@
$(item).attr('jid'), $(item).attr('jid'),
null, null,
this.onInfo.bind(this)); this.onInfo.bind(this));
}(this)); }.bind(this));
}, },
onInfo: function (stanza) { onInfo: function (stanza) {
...@@ -5096,7 +5096,7 @@ ...@@ -5096,7 +5096,7 @@
'var': namespace, 'var': namespace,
'from': $stanza.attr('from') 'from': $stanza.attr('from')
}); });
}(this)); }.bind(this));
} }
}); });
......
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