mirror of
https://github.com/Mibew/mibew.git
synced 2025-01-31 05:20:30 +03:00
Fix issue with double widget code in generated button
This commit is contained in:
parent
dd4169f815
commit
cf67b11295
@ -56,9 +56,6 @@ class ImageGenerator extends TextGenerator
|
||||
$button = HTML5\html('fragment');
|
||||
$button->addChild(HTML5\html('comment', 'mibew button'));
|
||||
$button->addChild($this->getPopupLink($image));
|
||||
if (Settings::get('enabletracking') && !$this->getOption('disable_tracking')) {
|
||||
$button->addChild($this->getWidgetCode());
|
||||
}
|
||||
$button->addChild(HTML5\html('comment', '/ mibew button'));
|
||||
|
||||
return $button;
|
||||
|
Loading…
Reference in New Issue
Block a user