Fix object reference in element constructor
This commit is contained in:
parent
416e6a1758
commit
b70c3451fa
@ -31,7 +31,7 @@ function Element:new(o)
|
||||
obj.__index = self
|
||||
|
||||
if obj.render and obj.render.parent then
|
||||
self:_reload()
|
||||
obj:_reload()
|
||||
end
|
||||
|
||||
return obj
|
||||
|
Loading…
x
Reference in New Issue
Block a user