remove challenge name as title from forum template. (#299)

This commit is contained in:
Michaël
2018-09-27 15:54:03 +04:00
committed by Mrugesh Mohapatra
parent b19ebd0cdf
commit 0dc455c5dc

View File

@ -51,7 +51,9 @@ function createQuestionEpic(action$, { getState }, { window }) {
'User Agent is: <code>', 'User Agent is: <code>',
userAgent, userAgent,
'</code>.\n\n', '</code>.\n\n',
'**Link to the challenge:**\n', '**Challenge:**\n',
challengeTitle,
'\n**Link to the challenge:**\n',
href href
].join(''); ].join('');
window.open( window.open(
@ -59,7 +61,6 @@ function createQuestionEpic(action$, { getState }, { window }) {
'?category=' + '?category=' +
window.encodeURIComponent(helpCategory[challengeType] || 'Help') + window.encodeURIComponent(helpCategory[challengeType] || 'Help') +
'&title=' + '&title=' +
window.encodeURIComponent(challengeTitle) +
'&body=' + '&body=' +
window.encodeURIComponent(textMessage), window.encodeURIComponent(textMessage),
'_blank' '_blank'