Skip to content

Commit

Permalink
Add title for Learn more button
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian committed Jan 14, 2022
1 parent d4337a7 commit 6083170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/image/worldskills_hero.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
}
if ($linkURL) {
?>
<a class="btn btn-more <?=$button_class?>" href="<?=$linkURL?>"<?php echo ($openLinkInNewWindow ? ' target="_blank"' : ''); ?>>Learn more</a>
<a class="btn btn-more <?=$button_class?>" title="<?php echo h($title); ?>" href="<?=$linkURL?>"<?php echo ($openLinkInNewWindow ? ' target="_blank"' : ''); ?>>Learn more</a>
<?php
}
?>
Expand Down

0 comments on commit 6083170

Please sign in to comment.