On Focus Done
This commit is contained in:
1 parent
ea6dc80a99
commit
37978e1f43
1 file changed
+59
@@ -59,6 +59,12 @@ function newOnFocus () {
|
||||
return child
|
||||
}
|
||||
}
|
||||
for (let m = 0; m < node.announcements.length; m++) {
|
||||
child = getNodeThatIsOnFocus(node.announcements[m])
|
||||
if (child !== undefined) {
|
||||
return child
|
||||
}
|
||||
}
|
||||
if (node.payload.uiObject.isOnFocus === true) {
|
||||
return node
|
||||
} else {
|
||||
@@ -117,6 +123,12 @@ function newOnFocus () {
|
||||
return child
|
||||
}
|
||||
}
|
||||
for (let m = 0; m < node.announcements.length; m++) {
|
||||
child = getNodeThatIsOnFocus(node.announcements[m])
|
||||
if (child !== undefined) {
|
||||
return child
|
||||
}
|
||||
}
|
||||
if (node.payload.uiObject.isOnFocus === true) {
|
||||
return node
|
||||
} else {
|
||||
@@ -131,6 +143,12 @@ function newOnFocus () {
|
||||
return child
|
||||
}
|
||||
}
|
||||
for (let m = 0; m < node.announcements.length; m++) {
|
||||
child = getNodeThatIsOnFocus(node.announcements[m])
|
||||
if (child !== undefined) {
|
||||
return child
|
||||
}
|
||||
}
|
||||
if (node.payload.uiObject.isOnFocus === true) {
|
||||
return node
|
||||
} else {
|
||||
@@ -145,6 +163,12 @@ function newOnFocus () {
|
||||
return child
|
||||
}
|
||||
}
|
||||
for (let m = 0; m < node.announcements.length; m++) {
|
||||
child = getNodeThatIsOnFocus(node.announcements[m])
|
||||
if (child !== undefined) {
|
||||
return child
|
||||
}
|
||||
}
|
||||
if (node.payload.uiObject.isOnFocus === true) {
|
||||
return node
|
||||
} else {
|
||||
@@ -430,6 +454,41 @@ function newOnFocus () {
|
||||
return
|
||||
}
|
||||
}
|
||||
case 'Social Bots': {
|
||||
let child
|
||||
for (let m = 0; m < node.socialBots.length; m++) {
|
||||
child = getNodeThatIsOnFocus(node.socialBots[m])
|
||||
if (child !== undefined) {
|
||||
return child
|
||||
}
|
||||
}
|
||||
if (node.payload.uiObject.isOnFocus === true) {
|
||||
return node
|
||||
} else {
|
||||
return
|
||||
}
|
||||
}
|
||||
case 'Telegram Bot': {
|
||||
let child
|
||||
for (let m = 0; m < node.announcements.length; m++) {
|
||||
child = getNodeThatIsOnFocus(node.announcements[m])
|
||||
if (child !== undefined) {
|
||||
return child
|
||||
}
|
||||
}
|
||||
if (node.payload.uiObject.isOnFocus === true) {
|
||||
return node
|
||||
} else {
|
||||
return
|
||||
}
|
||||
}
|
||||
case 'Announcement': {
|
||||
if (node.payload.uiObject.isOnFocus === true) {
|
||||
return node
|
||||
} else {
|
||||
return
|
||||
}
|
||||
}
|
||||
case 'Layer Manager': {
|
||||
let child
|
||||
for (let m = 0; m < node.layers.length; m++) {
|
||||
|
||||
Reference in new issue
Block a user