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 = '';
|
||||
|
@@ -1,5 +0,0 @@
|
||||
#shorten-form {
|
||||
width: 300px;
|
||||
margin: auto;
|
||||
margin-top: 10vh;
|
||||
}
|
Reference in New Issue
Block a user