mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-10-01 01:26:10 -04:00
Hide error message when paste is posted correctly
This commit is contained in:
parent
9687144c92
commit
d74172064b
@ -396,7 +396,7 @@ function send_data() {
|
||||
var url = scriptLocation() + "?" + data.id + '#' + randomkey;
|
||||
var deleteUrl = scriptLocation() + "?pasteid=" + data.id + '&deletetoken=' + data.deletetoken;
|
||||
showStatus('');
|
||||
|
||||
$('#errormessage').addClass('hidden');
|
||||
$('#pastelink').html('Your paste is <a id="pasteurl" href="' + url + '">' + url + '</a> <span id="copyhint">(Hit CTRL+C to copy)</span>');
|
||||
$('#deletelink').html('<a href="' + deleteUrl + '">Delete data</a>');
|
||||
$('#pasteresult').removeClass('hidden');
|
||||
|
Loading…
Reference in New Issue
Block a user