Remove unused code from gr-dropdown
This was a remnant of an earlier refactoring and was caught by an error in fried-twinkie. Change-Id: I3bea46250a9d901c4e6ef3ea25bfe5ad27e634a1
This commit is contained in:
@@ -62,8 +62,6 @@
|
|||||||
value() { return []; },
|
value() { return []; },
|
||||||
},
|
},
|
||||||
|
|
||||||
_hasAvatars: String,
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The elements of the list.
|
* The elements of the list.
|
||||||
*/
|
*/
|
||||||
@@ -85,12 +83,6 @@
|
|||||||
'up': '_handleUp',
|
'up': '_handleUp',
|
||||||
},
|
},
|
||||||
|
|
||||||
attached() {
|
|
||||||
this.$.restAPI.getConfig().then(cfg => {
|
|
||||||
this._hasAvatars = !!(cfg && cfg.plugin && cfg.plugin.has_avatars);
|
|
||||||
});
|
|
||||||
},
|
|
||||||
|
|
||||||
_handleUp(e) {
|
_handleUp(e) {
|
||||||
if (this.$.dropdown.opened) {
|
if (this.$.dropdown.opened) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
Reference in New Issue
Block a user