fixing regressions from cherrypicking

This commit is contained in:
El RIDO 2015-08-15 21:39:08 +02:00
parent 5f87ea6843
commit e646729b2d
4 changed files with 6 additions and 7 deletions

View file

@ -335,7 +335,7 @@ function send_data() {
$('div#pastelink').html('Your paste is <a id="pasteurl" href="' + url + '">' + url + '</a> <span id="copyhint">(Hit CTRL+C to copy)</span>');
$('div#deletelink').html('<a href="' + deleteUrl + '">Delete link</a>');
$('div#pasteresult').show();
$('div#pasteresult').removeClass('hidden');
selectText('pasteurl'); // We pre-select the link so that the user only has to CTRL+C the link.
setElementText($('div#cleartext'), $('textarea#message').val());
@ -409,7 +409,7 @@ function stateExistingPaste() {
else {
$('button#clonebutton').removeClass('hidden');
}
$('button#rawtextbutton').show();
$('button#rawtextbutton').removeClass('hidden');
$('div#expiration').addClass('hidden');
$('div#burnafterreadingoption').addClass('hidden');