mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-12-25 15:29:23 -05:00
Fix
Fixes https://github.com/PrivateBin/PrivateBin/issues/1420 I have not tested it practically (just a quick hotfix), but given the code history and this was what worked before, I guess this should work. 🙃
This commit is contained in:
parent
702831ea38
commit
e675b2547f
@ -3988,7 +3988,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||||||
}
|
}
|
||||||
emailBody += I18n._('Link:');
|
emailBody += I18n._('Link:');
|
||||||
emailBody += EOL;
|
emailBody += EOL;
|
||||||
emailBody += $('#pasteurl').attr('href'); // might have been shortened
|
emailBody += $('#pasteurl').attr('href') || window.location.href; // href is tried first as it might have been shortened
|
||||||
return emailBody;
|
return emailBody;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user