mirror of
https://github.com/reality/dbot.git
synced 2024-11-24 04:49: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) { };
|
} 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