Skip to content
Snippets Groups Projects
Commit d5adacfb authored by Kayz's avatar Kayz Committed by Rob Swindell
Browse files

minor cleanup/fixes to xtrnmenumod

parent 8096b160
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -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
;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
multicolumn_fmt_inverse: \1n\1w[\1y\1h%2s\1n\1w] \1n\1w\1h\x015%-32.32s \1n\1h
singlecolumn_fmt_inverse: \1n\1w[\1y\1h%2s\1n\1w] \1n\1w\1h\x015%s \1n\1h
multicolumn_fmt_inverse: \1h\1c%3s \xb3 \1n\x016\w%-32.32s \1h \1n\1h
singlecolumn_fmt_inverse: \1h\1c%3s \xb3 \1n\x016\w%-32.32s \1h \1n\1h
; to enable cost display, use these instead
; Note: cost not supported in special menus
......
......@@ -29,7 +29,7 @@
</div>
<?xjs
if ((typeof menuobj.items !== "undefined") || (menuobj.items.length > 0)) {
if ((typeof menuobj.items !== "undefined") && (menuobj.items.length > 0)) {
var i = 0;
menuobj.items.some(function (menuitem) {
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