Commit 53d9efce authored by yann300's avatar yann300

remove selected()

parent 722a9f60
...@@ -89,14 +89,6 @@ class VerticalIconComponent { ...@@ -89,14 +89,6 @@ class VerticalIconComponent {
if (this.icons[name]) this.iconKind[kind || 'other'].removeChild(this.icons[name]) if (this.icons[name]) this.iconKind[kind || 'other'].removeChild(this.icons[name])
} }
selected () {
let currentActive = this.view.querySelector(`.${css.active}`)
if (currentActive) {
return currentActive.getAttribute('title')
}
return null
}
select (name) { select (name) {
let currentActive = this.view.querySelector(`.${css.active}`) let currentActive = this.view.querySelector(`.${css.active}`)
if (currentActive) { if (currentActive) {
......
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