From 5a9b940c2b9cd849c62de37245e0b933a0e6a27e Mon Sep 17 00:00:00 2001 From: yann300 Date: Fri, 5 Apr 2019 08:23:47 +0200 Subject: [PATCH] typo --- src/app/components/vertical-icons-component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/vertical-icons-component.js b/src/app/components/vertical-icons-component.js index 85d4da45c2..2ba596b807 100644 --- a/src/app/components/vertical-icons-component.js +++ b/src/app/components/vertical-icons-component.js @@ -38,7 +38,7 @@ class VerticalIconComponent { if (!api.events) return let fn = this.iconStatus[api.profile.name] if (fn) { - api.events.remove('statusChanged', fn) + api.events.removeListener('statusChanged', fn) delete this.iconStatus[api.profile.name] } }