瀏覽代碼

Fix eslint errors

j8
yanas 8 年之前
父節點
當前提交
e24d5da0ef
共有 2 個文件被更改,包括 1 次插入2 次删除
  1. 1
    1
      modules/UI/invite/Invite.js
  2. 0
    1
      modules/UI/side_pannels/contactlist/ContactListView.js

+ 1
- 1
modules/UI/invite/Invite.js 查看文件

@@ -38,7 +38,7 @@ class Invite {
38 38
             this.setLockedFromElsewhere(locked);
39 39
         });
40 40
 
41
-        this.conference.on(ConferenceEvents.USER_ROLE_CHANGED, (id, role) => {
41
+        this.conference.on(ConferenceEvents.USER_ROLE_CHANGED, (id) => {
42 42
             if (APP.conference.isLocalId(id)
43 43
                     && this.isModerator !== this.conference.isModerator) {
44 44
 

+ 0
- 1
modules/UI/side_pannels/contactlist/ContactListView.js 查看文件

@@ -137,7 +137,6 @@ var ContactListView = {
137 137
      * Setup listeners
138 138
      */
139 139
     registerListeners() {
140
-        let model = this.model;
141 140
         let removeContact = this.onRemoveContact.bind(this);
142 141
         let changeAvatar = this.changeUserAvatar.bind(this);
143 142
         let displayNameChange = this.onDisplayNameChange.bind(this);

Loading…
取消
儲存