We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4069483 commit 75a3a91Copy full SHA for 75a3a91
templates/home/index.html
@@ -37,7 +37,7 @@
37
xhr.onreadystatechange = function () {
38
if (xhr.readyState === 4) {
39
var json = JSON.parse(xhr.responseText);
40
- if(Object.keys(json.response).length === 0) {
+ if(json.response.length === 0) {
41
document.getElementById("short-url").textContent = "There was a problem with your url.";
42
return;
43
0 commit comments