Browse Source

Bugfix. Didn't add "bind".

JC Brand 10 năm trước cách đây
mục cha
commit
734d5b65ba
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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));
             }
         });