Compare commits

..

No commits in common. "b4fb0baded67b33257b602eafc80ec4186cfe38a" and "31df15e2aea39515c538cc3b497290d701ecab45" have entirely different histories.

1 changed files with 2 additions and 8 deletions

View File

@ -68,10 +68,7 @@ return function(description,opts)
if v.draggable then if v.draggable then
list.buttons = buttons list.buttons = buttons
else else
local new_obj = inner_builder(v) table.insert(list,inner_builder(v))
if new_obj then
table.insert(list,new_obj)
end
end end
end end
return list return list
@ -101,10 +98,7 @@ return function(description,opts)
if obj.draggable then if obj.draggable then
list[k].buttons = buttons list[k].buttons = buttons
else else
local new_obj = inner_builder(obj) table.insert(list[k],inner_builder(obj))
if new_obj then
table.insert(list[k],new_obj)
end
end end
end end
end end