Skip to content

Commit

Permalink
Fix bug with missing non-square icons.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jen Lampton committed May 7, 2019
1 parent c007705 commit daafde2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions on_the_web.module
Original file line number Diff line number Diff line change
Expand Up @@ -199,14 +199,12 @@ function on_the_web_display_block($delta, $settings = array(), $contexts = array
'#theme' => 'on_the_web_item',
'#service' => $service,
'#link' => $link,
'#icon' => $icon,
'#size' => $size,
'#title' => $title,
'#classes' => $classes,
'#weight' => $config->get($service . '_weight'),
);
if ($icon) {
$links['#icon'] = $icon;
}
}

if ($type == 'anchor') {
Expand Down

0 comments on commit daafde2

Please sign in to comment.