Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659
edits
(this will be undone) |
m (nil check) |
||
Line 121: | Line 121: | ||
local enchanted = args['enchanted'] or args['Enchanted'] | local enchanted = args['enchanted'] or args['Enchanted'] | ||
spriteDiv:attr('data-enchanted', enchanted) | spriteDiv:attr('data-enchanted', enchanted) | ||
if enchanted then | if enchanted ~= nil then | ||
spriteDiv:addClass("enchanted") | spriteDiv:addClass("enchanted") | ||
end | end |
edits