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

Merge branch 'mlong/xtrncleanup' into 'master'

minor cleanup/fixes to xtrnmenumod

See merge request !100
parents 9896598c d5adacfb
No related branches found
No related tags found
2 merge requests!463MRC mods by Codefenix (2024-10-20),!100minor cleanup/fixes to xtrnmenumod
...@@ -31,8 +31,8 @@ singlecolumn_fmt: \1h\1c%3s \xb3 \1n\1c%s \1h ...@@ -31,8 +31,8 @@ singlecolumn_fmt: \1h\1c%3s \xb3 \1n\1c%s \1h
;which: \r\n\1-\1cWhich or \1h~Q\1n\1cuit: \1h ;which: \r\n\1-\1cWhich or \1h~Q\1n\1cuit: \1h
;underline: \1c\1h\xc4\xc4\xc4\xc4\xc5\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4 ;underline: \1c\1h\xc4\xc4\xc4\xc4\xc5\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4
; used by the lightbar ; used by the lightbar
multicolumn_fmt_inverse: \1n\1w[\1y\1h%2s\1n\1w] \1n\1w\1h\x015%-32.32s \1n\1h multicolumn_fmt_inverse: \1h\1c%3s \xb3 \1n\x016\w%-32.32s \1h \1n\1h
singlecolumn_fmt_inverse: \1n\1w[\1y\1h%2s\1n\1w] \1n\1w\1h\x015%s \1n\1h singlecolumn_fmt_inverse: \1h\1c%3s \xb3 \1n\x016\w%-32.32s \1h \1n\1h
; to enable cost display, use these instead ; to enable cost display, use these instead
; Note: cost not supported in special menus ; Note: cost not supported in special menus
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
</div> </div>
<?xjs <?xjs
if ((typeof menuobj.items !== "undefined") || (menuobj.items.length > 0)) { if ((typeof menuobj.items !== "undefined") && (menuobj.items.length > 0)) {
var i = 0; var i = 0;
menuobj.items.some(function (menuitem) { menuobj.items.some(function (menuitem) {
if (menuitem.type != "xtrnprog") { if (menuitem.type != "xtrnprog") {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment