Module:Infobox chord: Difference between revisions

Bcmills (talk | contribs)
No edit summary
Bcmills (talk | contribs)
No edit summary
Line 45: Line 45:
local root = harmonics[1]
local root = harmonics[1]
if utils.value_provided(frame.args["Root"]) then
if utils.value_provided(frame.args["Root"]) then
root = tonumber(hs)
root = tonumber(frame.args["Root"])
assert(root > 0, "invalid root")
assert(root > 0, "invalid root")
end
end