mirror of
https://github.com/reality/dbot.git
synced 2024-11-23 20:39:25 +01:00
remove unnecessary else
This commit is contained in:
parent
a38f807f22
commit
3bfc82c7bc
@ -47,10 +47,8 @@ var link = function(dbot) {
|
||||
} catch(err) { };
|
||||
});
|
||||
} else {
|
||||
if(comicId) {
|
||||
if(comicId !== "") {
|
||||
comicId = comicId + "/";
|
||||
} else {
|
||||
comicId = "";
|
||||
}
|
||||
|
||||
var link = "http://xkcd.com/"+comicId+"info.0.json";
|
||||
|
Loading…
Reference in New Issue
Block a user