Fix linting
This commit is contained in:
parent
25a231fc50
commit
a85ae27d68
2 changed files with 4 additions and 4 deletions
|
@ -242,9 +242,9 @@ TouchBar.TouchBarScrubber = class TouchBarScrubber extends TouchBarItem {
|
|||
if (typeof onSelect === 'function' || typeof onHighlight === 'function') {
|
||||
this.onInteraction = (details) => {
|
||||
if (details.type === 'select') {
|
||||
onSelect(details.selectedIndex);
|
||||
onSelect(details.selectedIndex)
|
||||
} else if (details.type === 'highlight') {
|
||||
onHighlight(details.highlightedIndex);
|
||||
onHighlight(details.highlightedIndex)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue