瀏覽代碼

Bugfix. Didn't add "bind".

JC Brand 10 年之前
父節點
當前提交
734d5b65ba
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      converse.js

+ 2 - 2
converse.js

@@ -5079,7 +5079,7 @@
                         $(item).attr('jid'),
                         null,
                         this.onInfo.bind(this));
-                }(this));
+                }.bind(this));
             },
 
             onInfo: function (stanza) {
@@ -5096,7 +5096,7 @@
                         'var': namespace,
                         'from': $stanza.attr('from')
                     });
-                }(this));
+                }.bind(this));
             }
         });