diff --git a/js/zerobin.js b/js/zerobin.js index 9b5b35b..23329a2 100644 --- a/js/zerobin.js +++ b/js/zerobin.js @@ -255,10 +255,7 @@ function send_data() { stateExistingPaste(); var url = scriptLocation() + "?" + data.id + '#' + randomkey; showStatus(''); - $('div#pastelink').html('Your paste is ' + url + ''); - $('div#pastelink') - .append('  ') - .show(); + $('div#pastelink').html('Your paste is ' + url + '').show(); setElementText($('div#cleartext'), $('textarea#message').val()); urls2links($('div#cleartext')); showStatus(''); @@ -370,13 +367,6 @@ function showStatus(message, spin) { } } -/** - * Generate link to URL shortener. - */ -function shortenUrl(url) { - return 'http://snipurl.com/site/snip?link=' + encodeURIComponent(url); -} - /** * Convert URLs to clickable links. * URLs to handle: