Commit ff324b19 authored by Grandschtroumpf's avatar Grandschtroumpf

Change VerticalIconsComponent to VerticalIcons

parent c189363e
......@@ -6,7 +6,7 @@ let globalRegistry = require('../../global/registry')
const EventEmitter = require('events')
// Component
class VerticalIconComponent {
class VerticalIcon {
constructor (name, appStore, homeProfile) {
this.store = appStore
......@@ -78,7 +78,7 @@ class VerticalIconComponent {
this.icons[name] = yo`
<div
class="${css.icon}"
onclick="${(e) => { this._iconClick(name) }}"
onclick="${() => { this._iconClick(name) }}"
plugin="${name}" title="${title}" >
<img class="image" src="${icon}" alt="${name}" />
</div>`
......@@ -359,7 +359,7 @@ class VerticalIconComponent {
}
}
module.exports = VerticalIconComponent
module.exports = VerticalIcon
const css = csjs`
.homeIcon {
......
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