forked from OpenNeo/impress
lame code to show prank pets on homepage :P
This commit is contained in:
parent
8ccc2fd741
commit
528fffce52
1 changed files with 7 additions and 1 deletions
|
@ -57,7 +57,13 @@ Preview.Job = function (key, base) {
|
||||||
job.loading = false;
|
job.loading = false;
|
||||||
|
|
||||||
function getImageSrc() {
|
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() {
|
function load() {
|
||||||
|
|
Loading…
Reference in a new issue