mirror of
https://github.com/Mibew/mibew.git
synced 2025-01-31 13:24:41 +03:00
Merge pull request #84 from Mibew/button_fix
Fix button generation with disabled visitors tracking
This commit is contained in:
commit
db7aa3d12a
@ -85,7 +85,9 @@ class ImageGenerator extends TextGenerator
|
||||
$button = HTML5\html('fragment');
|
||||
$button->addChild(HTML5\html('comment', 'mibew button'));
|
||||
$button->addChild($this->getPopup($image));
|
||||
$button->addChild($this->getWidgetCode());
|
||||
if (Settings::get('enabletracking')) {
|
||||
$button->addChild($this->getWidgetCode());
|
||||
}
|
||||
$button->addChild(HTML5\html('comment', '/ mibew button'));
|
||||
|
||||
return $button;
|
||||
|
Loading…
Reference in New Issue
Block a user