mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
42b1616504
commit
a3f4454222
@ -1005,6 +1005,8 @@ function(event, {handler, action, default_item, filter, options={}, getter='sear
|
||||
var resolved =
|
||||
// event handler...
|
||||
item instanceof Function ?
|
||||
// XXX where do we handle this...
|
||||
//this.on(event, item)
|
||||
item
|
||||
// array of queries...
|
||||
: item instanceof Array ?
|
||||
@ -1022,6 +1024,7 @@ function(event, {handler, action, default_item, filter, options={}, getter='sear
|
||||
// item is null (explicitly) or other...
|
||||
: []
|
||||
return (skipUnresolved
|
||||
&& !(resolved instanceof Function)
|
||||
&& resolved.length == 0
|
||||
&& item != null) ?
|
||||
// skip unresolved...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user