shortened paste URL does not appear in email

fixes #606
This commit is contained in:
El RIDO 2024-03-10 17:26:30 +01:00
parent 5f00587d71
commit 89a5d07b94
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
4 changed files with 5 additions and 4 deletions

View file

@ -3965,7 +3965,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
}
emailBody += I18n._('Link:');
emailBody += EOL;
emailBody += `${window.location.href}`;
emailBody += $('#pasteurl').attr('href'); // might have been shortened
return emailBody;
}