Explorar o código

Bugfix. Didn't add "bind".

JC Brand %!s(int64=10) %!d(string=hai) anos
pai
achega
734d5b65ba
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      converse.js

+ 2 - 2
converse.js

@@ -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 @@
                         'var': namespace,
                         'var': namespace,
                         'from': $stanza.attr('from')
                         'from': $stanza.attr('from')
                     });
                     });
-                }(this));
+                }.bind(this));
             }
             }
         });
         });