1
0
Fork 0
forked from OpenNeo/impress

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,8 +57,14 @@ Preview.Job = function (key, base) {
job.loading = false; job.loading = false;
function getImageSrc() { function getImageSrc() {
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); return petImage(base + '/' + key, quality);
} }
}
function load() { function load() {
job.loading = true; job.loading = true;