Module:Sprite: Difference between revisions

*starts being really annoyed*
(Gonna need some more stuff)
(*starts being really annoyed*)
Line 166: Line 166:
sprite:attr( "title", self.__settings.name )
sprite:attr( "title", self.__settings.name )


sprite:cssText( self:calculateStyles() )
local styles =  self:calculateStyles()
sprite:cssText( styles )
sprite:tag("data-styles", styles)


return sprite
return sprite
Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator, Widget editors
154

edits