forked from GitHub/dbot
remove unnecessary else
This commit is contained in:
parent
a38f807f22
commit
3bfc82c7bc
@ -47,10 +47,8 @@ var link = function(dbot) {
|
|||||||
} catch(err) { };
|
} catch(err) { };
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
if(comicId) {
|
if(comicId !== "") {
|
||||||
comicId = comicId + "/";
|
comicId = comicId + "/";
|
||||||
} else {
|
|
||||||
comicId = "";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var link = "http://xkcd.com/"+comicId+"info.0.json";
|
var link = "http://xkcd.com/"+comicId+"info.0.json";
|
||||||
|
Loading…
Reference in New Issue
Block a user