소스 검색

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));
             }
         });