initial done
This commit is contained in:
@@ -4,9 +4,9 @@ var link = document.getElementById('link');
|
||||
var shrBox = document.getElementById('shortened');
|
||||
|
||||
function displayShortenedUrl(response) {
|
||||
link.textContent = response.data.shortUrl;
|
||||
link.textContent = response.data.url;
|
||||
link.setAttribute(
|
||||
'href', response.data.shortUrl
|
||||
'href', response.data.url
|
||||
);
|
||||
shrBox.style.opacity = '1';
|
||||
urlBox.value = '';
|
||||
|
Reference in New Issue
Block a user