mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 17:41:40 -05:00
Fix #3899: remove duplicate fields
This commit is contained in:
parent
ed7b6fb0cd
commit
beb2ea3b25
1 changed files with 3 additions and 3 deletions
|
@ -5711,15 +5711,15 @@ export async function issue() {
|
||||||
}
|
}
|
||||||
const platform = await browserBg.runtime.getPlatformInfo()
|
const platform = await browserBg.runtime.getPlatformInfo()
|
||||||
// Remove the bit asking the user
|
// 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
|
// Add this piece of information to the top of the template
|
||||||
template = `Operating system: ${platform.os}\n` + template
|
template = `Operating system: ${platform.os}\n` + template
|
||||||
|
|
||||||
const info = await browserBg.runtime.getBrowserInfo()
|
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 = `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
|
template = `Tridactyl version: ${TRI_VERSION}\n` + template
|
||||||
|
|
||||||
textarea.value = template
|
textarea.value = template
|
||||||
|
|
Loading…
Add table
Reference in a new issue