Skip to content

Commit 75a3a91

Browse files
committed
Fe update
1 parent 4069483 commit 75a3a91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/home/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
xhr.onreadystatechange = function () {
3838
if (xhr.readyState === 4) {
3939
var json = JSON.parse(xhr.responseText);
40-
if(Object.keys(json.response).length === 0) {
40+
if(json.response.length === 0) {
4141
document.getElementById("short-url").textContent = "There was a problem with your url.";
4242
return;
4343

0 commit comments

Comments
 (0)