TileRenderer: Fix invalid call to attributes()

This commit is contained in:
Johannes Meyer 2019-01-22 13:36:17 +01:00
parent 5fe4983c3c
commit fba4235a6a

View file

@ -28,7 +28,7 @@ class TileRenderer extends Renderer
]
);
if (! $this->wantsRootNodes()) {
$nodesDiv->attributes()->add('data-node-name', $this->parent->getName());
$nodesDiv->getAttributes()->add('data-node-name', $this->parent->getName());
}
$nodes = $this->getChildNodes();