mirror of
https://github.com/Mibew/mibew.git
synced 2025-05-12 06:43:08 +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 = HTML5\html('fragment');
|
||||||
$button->addChild(HTML5\html('comment', 'mibew button'));
|
$button->addChild(HTML5\html('comment', 'mibew button'));
|
||||||
$button->addChild($this->getPopupLink($image));
|
$button->addChild($this->getPopupLink($image));
|
||||||
if (Settings::get('enabletracking') && !$this->getOption('disable_tracking')) {
|
|
||||||
$button->addChild($this->getWidgetCode());
|
|
||||||
}
|
|
||||||
$button->addChild(HTML5\html('comment', '/ mibew button'));
|
$button->addChild(HTML5\html('comment', '/ mibew button'));
|
||||||
|
|
||||||
return $button;
|
return $button;
|
||||||
|
Loading…
Reference in New Issue
Block a user