osc: don't choke on widgets without target prop (issue #56)
This commit is contained in:
parent
9faf7023e2
commit
f3909b2352
1 changed files with 1 additions and 1 deletions
|
|
@ -188,7 +188,7 @@ module.exports = {
|
|||
}
|
||||
}
|
||||
|
||||
if (data.target.indexOf(null) == -1) {
|
||||
if (!data.target || data.target.indexOf(null) == -1) {
|
||||
|
||||
var targets = []
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue