Commit e0532582 authored by yann300's avatar yann300

typo

parent 1185855a
...@@ -38,7 +38,7 @@ class VerticalIconComponent { ...@@ -38,7 +38,7 @@ class VerticalIconComponent {
if (!api.events) return if (!api.events) return
let fn = this.iconStatus[api.profile.name] let fn = this.iconStatus[api.profile.name]
if (fn) { if (fn) {
api.events.remove('statusChanged', fn) api.events.removeListener('statusChanged', fn)
delete this.iconStatus[api.profile.name] delete this.iconStatus[api.profile.name]
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment