diff options
| -rw-r--r-- | main.lua | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -609,6 +609,7 @@ local function open_option_title_info(title, info) local m = { options = options, title = title, + type = 'info', } if info.cover_big and info.cover_big ~= '' then m.img_url = info.cover_big @@ -869,6 +870,10 @@ end local function toggle_menu_sort() local menu = menus[depth] + if menu.type ~= 'group' and menu.type ~= 'search' then + return + end + local key = menu.type == 'search' and 'search_options' or 'options' if not menu['sorted_' .. key] then |
