Skip to content
Snippets Groups Projects
Commit 1f3897da authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix default program section selection

Hitting [Enter] is supposed to select the current/default program
section. Instead, it was quitting. This was apparently broken as
part of the xtrn_sec.js refactor a year or so ago by/with mlong.
parent ff81ca21
No related branches found
No related tags found
No related merge requests found
......@@ -275,10 +275,11 @@ function external_section_menu()
}
bbs.node_sync();
xsec=console.getnum(sec_list.length);
if(xsec<=0)
var num = console.getnum(sec_list.length);
if(num < 0)
break;
xsec--;
if(num > 0)
xsec = num - 1;
external_program_menu(sec_list[xsec].index);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment