Module:Numlinks: Difference between revisions
m todo |
m bugfix left arrow; it should only appear if the leftmost link is greater than the min |
||
| Line 80: | Line 80: | ||
-- arrow before the first link. | -- arrow before the first link. | ||
local prev_links = {} | local prev_links = {} | ||
if curr_num - num_links > | if curr_num - num_links > min_num then | ||
table.insert(prev_links, "←") | table.insert(prev_links, "←") | ||
end | end | ||