Fixed check for click event causing column white space to be clickable

This commit is contained in:
Djamil Legato
2019-06-06 18:50:50 -07:00
parent 3198b3b29c
commit 35cf438ce1

View File

@@ -104,7 +104,7 @@ class Finder {
const column = target.closest(`.${this.config.className.col}`);
const item = target.closest(`.${this.config.className.item}`);
if (item) {
if (item.length) {
this.$emitter.emit('item-selected', { column, item });
}
}