fix: discord message formatting

Merge pull request #120 from PeterNjeim/master
This commit is contained in:
Wenzheng Tang 2021-05-10 21:23:42 -04:00 committed by GitHub
commit 7a397e068f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -276,8 +276,8 @@ export namespace BtnAction {
// ask user to send Discord message // ask user to send Discord message
alert( alert(
'❌Download Failed!\n\n' + '❌Download Failed!\n\n' +
'Send your URL to the #dataset-bugs channel \n ' + 'Send your URL to the #dataset-bugs channel ' +
'in the LibreScore Community Discord server: ' + DISCORD_URL, 'in the LibreScore Community Discord server:\n' + DISCORD_URL,
) )
// open Discord on 'OK' // open Discord on 'OK'
const a = document.createElement('a') const a = document.createElement('a')