Module:List: Difference between revisions

    m>Jc86035
    m (according to MediaWiki:Mobile.css, this is preferred?)
    m>Jc86035
    m (rm for now, could be unexpected behaviour? should wait for WMF to fix regardless)
    Line 23: Line 23:
    data.classes = {}
    data.classes = {}
    if listType == 'horizontal' or listType == 'horizontal_ordered' then
    if listType == 'horizontal' or listType == 'horizontal_ordered' then
    table.insert(data.classes, 'hlist hlist-separated')
    table.insert(data.classes, 'hlist')
    elseif listType == 'unbulleted' then
    elseif listType == 'unbulleted' then
    table.insert(data.classes, 'plainlist')
    table.insert(data.classes, 'plainlist')