Skip to content

Commit

Permalink
Format Code
Browse files Browse the repository at this point in the history
  • Loading branch information
haitv282 committed Jan 28, 2019
1 parent 6b577c8 commit 9e5e6bf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Block/SocialShare.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ public function __construct(
HelperData $helperData,
Page $page,
array $data = []
)
{
) {
$this->_helperData = $helperData;
$this->_page = $page;
parent::__construct($context, $data);
Expand Down
4 changes: 3 additions & 1 deletion view/frontend/templates/socialshare.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@

<?php else : ?>
.mp_social_share_float {
<?php if ($block->isVerticalStyle($block->getFloatStyle())) :?><?=$block->getFloatMargin("top")?><?php endif;?><?=$block->getFloatPosition()?><?=$block->getBackgroundColor()?> z-index: 10;
<?php if ($block->isVerticalStyle($block->getFloatStyle())) :
?><?=$block->getFloatMargin("top")?><?php
endif;?><?=$block->getFloatPosition()?><?=$block->getBackgroundColor()?> z-index: 10;
}

@media only screen and (min-width: 430px) {
Expand Down
2 changes: 1 addition & 1 deletion view/frontend/web/js/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ define([
a2a.append(a2aJS);
}
});
});
});

0 comments on commit 9e5e6bf

Please sign in to comment.