Fix style of generated operator code field

This commit is contained in:
Fedor A. Fetisov 2021-03-22 22:41:35 +03:00
parent cf67b11295
commit 91a1b1872c

View File

@ -57,10 +57,10 @@ class OperatorCodeGenerator extends AbstractGenerator
$button->addChild(HTML5\html('comment', 'mibew operator code field'));
$button->addChild($form);
$button->addChild($this->getPopup());
$button->addChild(HTML5\html('comment', '/ mibew operator code field'));
if (Settings::get('enabletracking') && !$this->getOption('disable_tracking')) {
$button->addChild($this->getWidgetCode());
}
$button->addChild(HTML5\html('comment', '/ mibew operator code field'));
return $button;
}