Widget:costumeSwitcher: Difference between revisions
Jump to navigation
Jump to search
First try finding out the right path |
m Removed logging |
||
Line 28: | Line 28: | ||
var fullartSPath = basePath + createPathPart(costumeId +"_S.png") + costumeId +"_S.png"; | var fullartSPath = basePath + createPathPart(costumeId +"_S.png") + costumeId +"_S.png"; | ||
var chibiPath = basePath + createPathPart(costumeId +"_chibi.png") + costumeId +"_chibi.png"; | var chibiPath = basePath + createPathPart(costumeId +"_chibi.png") + costumeId +"_chibi.png"; | ||
$("#fullart a").attr("href", fullartPath ); | $("#fullart a").attr("href", fullartPath ); | ||
Line 48: | Line 43: | ||
$(".tdoll_chibi img").attr("src", chibiPath); | $(".tdoll_chibi img").attr("src", chibiPath); | ||
// As we change the link, we have to update the Thumb-Cache of the Media Viewer | // As we change the link, we have to update the Thumb-Cache of the Media Viewer |