mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-07-21 14:08:48 -04:00
make filename unique per paste ID
This commit is contained in:
parent
853a4f386f
commit
bc11452259
3 changed files with 3 additions and 3 deletions
|
@ -3676,7 +3676,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||
*/
|
||||
function downloadText()
|
||||
{
|
||||
var filename='paste.txt';
|
||||
var filename='paste-' + Model.getPasteId() + '.txt';
|
||||
var text = PasteViewer.getText();
|
||||
|
||||
var element = document.createElement('a');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue