mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix item loop in actionSheet
This commit is contained in:
parent
58b776dc43
commit
f6c3b9bf94
1 changed files with 3 additions and 1 deletions
|
@ -197,7 +197,9 @@ export function show(options) {
|
|||
menuItemClass += ' actionsheet-xlargeFont';
|
||||
}
|
||||
|
||||
for (let [i, item] of options.items.entries()) {
|
||||
// 'options.items' is HTMLOptionsCollection, so no fancy loops
|
||||
for (let i = 0; i < options.items.length; i++) {
|
||||
const item = options.items[i];
|
||||
|
||||
if (item.divider) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue