浏览代码

`_super` has been renamed to `__super__`.

JC Brand 8 年之前
父节点
当前提交
3363041625
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/converse-bookmarks.js

+ 1 - 1
src/converse-bookmarks.js

@@ -50,7 +50,7 @@
                 },
                 },
 
 
                 render: function (options) {
                 render: function (options) {
-                    this._super.render.apply(this, arguments);
+                    this.__super__.render.apply(this, arguments);
                     var label_bookmark = _('Bookmark this room');
                     var label_bookmark = _('Bookmark this room');
                     // TODO: check if bookmarked, and if so, add button-on class
                     // TODO: check if bookmarked, and if so, add button-on class
                     this.$el.find('.chat-head-chatroom .icon-wrench').before(
                     this.$el.find('.chat-head-chatroom .icon-wrench').before(