shortcuts keys done
This commit is contained in:
1 parent
6f89600a53
commit
eb92342bde
1 file changed
+59
@@ -59,6 +59,12 @@ function newShortcutKeys () {
|
||||
return child
|
||||
}
|
||||
}
|
||||
for (let m = 0; m < node.announcements.length; m++) {
|
||||
child = getNodeByShortcutKey(node.announcements[m], searchingKey)
|
||||
if (child !== undefined) {
|
||||
return child
|
||||
}
|
||||
}
|
||||
if (node.payload.uiObject.shortcutKey === searchingKey) {
|
||||
return node
|
||||
} else {
|
||||
@@ -117,6 +123,12 @@ function newShortcutKeys () {
|
||||
return child
|
||||
}
|
||||
}
|
||||
for (let m = 0; m < node.announcements.length; m++) {
|
||||
child = getNodeByShortcutKey(node.announcements[m], searchingKey)
|
||||
if (child !== undefined) {
|
||||
return child
|
||||
}
|
||||
}
|
||||
if (node.payload.uiObject.shortcutKey === searchingKey) {
|
||||
return node
|
||||
} else {
|
||||
@@ -131,6 +143,12 @@ function newShortcutKeys () {
|
||||
return child
|
||||
}
|
||||
}
|
||||
for (let m = 0; m < node.announcements.length; m++) {
|
||||
child = getNodeByShortcutKey(node.announcements[m], searchingKey)
|
||||
if (child !== undefined) {
|
||||
return child
|
||||
}
|
||||
}
|
||||
if (node.payload.uiObject.shortcutKey === searchingKey) {
|
||||
return node
|
||||
} else {
|
||||
@@ -145,6 +163,12 @@ function newShortcutKeys () {
|
||||
return child
|
||||
}
|
||||
}
|
||||
for (let m = 0; m < node.announcements.length; m++) {
|
||||
child = getNodeByShortcutKey(node.announcements[m], searchingKey)
|
||||
if (child !== undefined) {
|
||||
return child
|
||||
}
|
||||
}
|
||||
if (node.payload.uiObject.shortcutKey === searchingKey) {
|
||||
return node
|
||||
} else {
|
||||
@@ -430,6 +454,41 @@ function newShortcutKeys () {
|
||||
return
|
||||
}
|
||||
}
|
||||
case 'Social Bots': {
|
||||
let child
|
||||
for (let m = 0; m < node.bots.length; m++) {
|
||||
child = getNodeByShortcutKey(node.bots[m], searchingKey)
|
||||
if (child !== undefined) {
|
||||
return child
|
||||
}
|
||||
}
|
||||
if (node.payload.uiObject.shortcutKey === searchingKey) {
|
||||
return node
|
||||
} else {
|
||||
return
|
||||
}
|
||||
}
|
||||
case 'Telegram Bot': {
|
||||
let child
|
||||
for (let m = 0; m < node.announcements.length; m++) {
|
||||
child = getNodeByShortcutKey(node.announcements[m], searchingKey)
|
||||
if (child !== undefined) {
|
||||
return child
|
||||
}
|
||||
}
|
||||
if (node.payload.uiObject.shortcutKey === searchingKey) {
|
||||
return node
|
||||
} else {
|
||||
return
|
||||
}
|
||||
}
|
||||
case 'Announcement': {
|
||||
if (node.payload.uiObject.shortcutKey === searchingKey) {
|
||||
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