浏览代码

TypeError: converse.log is not a function

JC Brand 8 年之前
父节点
当前提交
1a40b7aefb
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);