Skip to content

Commit 8cb9238

Browse files
committed
Update listItems
1 parent 8c95df3 commit 8cb9238

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dialog/overflow-menu/overflow-menu-pane.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,6 @@ export class OverflowMenuPane extends Dialog {
8181
private listItems() {
8282
const buttonClass = ".bx--overflow-menu-options__btn";
8383
const disabledClass = ".bx--overflow-menu-options__option--disabled";
84-
return Array.prototype.slice.call(this.dialog.nativeElement.querySelectorAll(`${buttonClass}:not(${disabledClass})`));
84+
return Array.from<any>(this.dialog.nativeElement.querySelectorAll(`${buttonClass}:not(${disabledClass})`));
8585
}
8686
}

0 commit comments

Comments
 (0)