Fix : 404 for Shorten URL image

This commit is contained in:
Erwan 2012-04-23 16:30:02 +02:00
parent e71e7cfce6
commit 5d02750316

View File

@ -257,7 +257,7 @@ function send_data() {
showStatus('');
$('div#pastelink').html('Your paste is <a href="' + url + '">' + url + '</a>');
$('div#pastelink')
.append('&nbsp;&nbsp;<button id="shortenbutton" onclick="document.location=\'' + shortenUrl(url) + '\'"><img src="lib/icon_shorten.png" width="13" height="15" />Shorten URL</button>')
.append('&nbsp;&nbsp;<button id="shortenbutton" onclick="document.location=\'' + shortenUrl(url) + '\'"><img src="img/icon_shorten.png" width="13" height="15" />Shorten URL</button>')
.show();
setElementText($('div#cleartext'), $('textarea#message').val());
urls2links($('div#cleartext'));