Selaa lähdekoodia

TypeError: converse.log is not a function

JC Brand 8 vuotta sitten
vanhempi
commit
1a40b7aefb
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/converse-chatview.js

+ 1 - 1
src/converse-chatview.js

@@ -702,7 +702,7 @@
                     try {
                         this.model.destroy();
                     } catch (e) {
-                        converse.log(e);
+                        _converse.log(e);
                     }
                     this.remove();
                     _converse.emit('chatBoxClosed', this);