Widget:chibiCostumeSwitcher: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 31: | Line 31: | ||
var targetSelector = targetId == "" ? ".chibiAnimationContainer" : ("#" + targetId); | var targetSelector = targetId == "" ? ".chibiAnimationContainer" : ("#" + targetId); | ||
$(targetSelector).attr('tdoll- | $(targetSelector).attr('data-tdoll-costume', chibiCostumeName); | ||
$(targetSelector).find('.chibiAnimation | $(targetSelector).find('.chibiAnimation').trigger("costume_changed", chibiCostumeName); | ||
console.log("2", element, targetSelector); | console.log("2", element, targetSelector); | ||
Revision as of 15:24, 7 July 2018