Compare commits

...

1 commit

Author SHA1 Message Date
283e45cf3a fix hash in Thanks for showing us banner 2024-09-09 23:37:55 -04:00

View file

@ -12,10 +12,14 @@
if (PetQuery.name) {
if (PetQuery.species && PetQuery.color) {
var image_url = petImage("cpn/" + PetQuery.name, 1);
if (PetQuery.name.startsWith("@")) {
image_url = petImage("cp/" + PetQuery.name.substr(1), 1);
}
$("#pet-query-notice-template")
.tmpl({
pet_name: PetQuery.name,
pet_image_url: petImage("cpn/" + PetQuery.name, 1),
pet_image_url: image_url,
})
.prependTo("#container");
}