osc: don't choke on widgets without target prop (issue #56)
This commit is contained in:
parent
cd05e21d47
commit
ce7b6750c9
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