Widget:costumeSwitcher: Difference between revisions
Jump to navigation
Jump to search
swap_costume now waits for the gadgets to be loaded |
m Typo |
||
Line 1: | Line 1: | ||
<includeonly><script> | <includeonly><script> | ||
function swap_costume(element) { | function swap_costume(element) { | ||
var neededGadgets = [ 'gadget | var neededGadgets = [ 'ext.gadget.md5hasher' ]; | ||
if (mw.user.options.get("gadget-chibiAnimation") == 1) { | if (mw.user.options.get("gadget-chibiAnimation") == 1) { | ||
neededGadgets.push("ext.gadget.chibiAnimation"); | neededGadgets.push("ext.gadget.chibiAnimation"); |