Module:Progression rainbow: Difference between revisions

Content deleted Content added
m Protected "Module:Progression rainbow": High-risk template or module: 253 transclusions (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite))
add tooltips showing % and class
Line 110:
})
:css('width', percentage)
:attr('title', string.format('%s %s', percentage, class.category))
:tag('span')
:addClass('sr-only')
Line 124 ⟶ 125:
:addClass('remaining')
:css('width', remaining)
:attr('title', string.format('%s remaining', remaining))
:tag('span')
:addClass('sr-only')