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,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;
|
||||||
|
|
Loading…
Reference in a new issue