From beb2ea3b2500ea63fffa8676473e1732fb74e6e6 Mon Sep 17 00:00:00 2001 From: Oliver Blanthorn Date: Sat, 2 Oct 2021 17:38:45 +0200 Subject: [PATCH] Fix #3899: remove duplicate fields --- src/excmds.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/excmds.ts b/src/excmds.ts index c90bed68..9119c981 100644 --- a/src/excmds.ts +++ b/src/excmds.ts @@ -5711,15 +5711,15 @@ export async function issue() { } const platform = await browserBg.runtime.getPlatformInfo() // Remove the bit asking the user - template = template.replace("* Operating system:\n", "") + template = template.replace("- Operating system:\n", "") // Add this piece of information to the top of the template template = `Operating system: ${platform.os}\n` + template const info = await browserBg.runtime.getBrowserInfo() - template = template.replace("* Firefox version (Top right menu > Help > About Firefox):\n\n", "") + template = template.replace("- Firefox version (Top right menu > Help > About Firefox):\n\n", "") template = `Firefox version: ${info.vendor} ${info.name} ${info.version}\n` + template - template = template.replace("* Tridactyl version (`:version`):\n\n", "") + template = template.replace("- Tridactyl version (`:version`):\n\n", "") template = `Tridactyl version: ${TRI_VERSION}\n` + template textarea.value = template