From 41c487458e1ba654ce23a74487be6349df91d1d3 Mon Sep 17 00:00:00 2001 From: willerbee Date: Wed, 14 Oct 2020 09:49:33 +0800 Subject: [PATCH] Removed '...' and replaced arrow --- public/js/commandline.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/commandline.js b/public/js/commandline.js index 32d18b49d..293195700 100644 --- a/public/js/commandline.js +++ b/public/js/commandline.js @@ -3,8 +3,8 @@ function capitalizeFirstLetter(str) { } function addChildCommands(unifiedCommands, commandItem, parentCommandDisplay = '') { - let commandItemDisplay = commandItem.display; - if (parentCommandDisplay) commandItemDisplay = parentCommandDisplay + " → " + commandItemDisplay; + let commandItemDisplay = commandItem.display.replace(/\s?\.\.\.$/g,''); + if (parentCommandDisplay) commandItemDisplay = parentCommandDisplay + " > " + commandItemDisplay; if (commandItem.subgroup) { try { commandItem.exec();