Commit d2ecba6e authored by Clement Ho's avatar Clement Ho

Remove bad droplab code

parent dd90dd0e
...@@ -126,9 +126,6 @@ Object.assign(DropDown.prototype, { ...@@ -126,9 +126,6 @@ Object.assign(DropDown.prototype, {
} else { } else {
this.list.innerHTML = newChildren.join(''); this.list.innerHTML = newChildren.join('');
} }
// Show dropdown if there is data
data !== [] ? this.show() : this.hide();
}, },
show: function() { show: function() {
......
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