Update as per feedback
This commit is contained in:
parent
2fd62d090a
commit
bea56bbdc8
2 changed files with 6 additions and 8 deletions
|
@ -225,7 +225,7 @@ TouchBar.TouchBarPopover = class TouchBarPopover extends TouchBarItem {
|
|||
}
|
||||
this.child.ordereredItems.forEach((item) => {
|
||||
item._popover = item._popover || []
|
||||
if (!item._popover.find(itemID => itemID === this.id)) item._popover.push(this.id)
|
||||
if (!item._popover.includes(this.id)) item._popover.push(this.id)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue