mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-04-11 23:27:34 +02:00
Fixed check for click event causing column white space to be clickable
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user