lame code to show prank pets on homepage :P

This commit is contained in:
Emi Matchu 2014-03-28 00:12:18 -05:00
parent 8ccc2fd741
commit 528fffce52

View file

@ -57,7 +57,13 @@ Preview.Job = function (key, base) {
job.loading = false;
function getImageSrc() {
return petImage(base + '/' + key, quality);
if (key.substr(0, 3) === 'a:-') {
// lol lazy code for prank image :P
return "http://swfimages.impress.openneo.net" +
"/biology/000/000/0-2/" + key.substr(2) + "/300x300.png";
} else {
return petImage(base + '/' + key, quality);
}
}
function load() {