diff --git a/src/facilities/toyShop/toyShop.js b/src/facilities/toyShop/toyShop.js index 998d13148722a8bd5f6023dd8ab05f4653ed7f8a..84ac5b700889cf72295d9af2100f280f12df2f16 100644 --- a/src/facilities/toyShop/toyShop.js +++ b/src/facilities/toyShop/toyShop.js @@ -57,8 +57,10 @@ App.UI.toyShop = function() { } else { el.append(desc()); } + if (buttPlugData.name) { + el.append(title()); + } el.append( - title(), width(), length(), ); @@ -122,6 +124,7 @@ App.UI.toyShop = function() { buttPlugName, v => { buttPlugName = v; + buttPlugData.name = capFirstChar(v); refresh(); } ));