From 241c75a5d5afe60c08c0c69a4bef32b418c086ce Mon Sep 17 00:00:00 2001 From: Sebastien SAUVAGE Date: Tue, 24 Apr 2012 14:29:16 +0200 Subject: [PATCH] Removed the shortening url service button. --- js/zerobin.js | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/js/zerobin.js b/js/zerobin.js index 9b5b35b1..23329a28 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: