Commit 05a9c11d authored by Michael Danielczok's avatar Michael Danielczok

fix: Solved problem with duplicated CSS classes in brick settings.

#110
parent 5a0bae74
......@@ -374,11 +374,7 @@ class Brick extends QUI\QDOM
{
foreach ($settings as $key => $value) {
if ($key === 'classes') {
if (empty($value)) {
$this->clearCSSClasses();
continue;
}
$this->clearCSSClasses();
$this->addCSSClass($value);
continue;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment