Skip to content

Commit

Permalink
[a11y] Protostar back to top (joomla#12446)
Browse files Browse the repository at this point in the history
* [a11y] Protostar - back to top link

* Oops Andre was right

* add anchor for non-js enabled browsers
  • Loading branch information
brianteeman authored and rdeutz committed Oct 25, 2016
1 parent 3e06fdb commit 4d44c25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/protostar/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
echo ($this->direction == 'rtl' ? ' rtl' : '');
?>">
<!-- Body -->
<div class="body">
<div class="body" id="top">
<div class="container<?php echo ($params->get('fluidContainer') ? '-fluid' : ''); ?>">
<!-- Header -->
<header class="header" role="banner">
Expand Down Expand Up @@ -203,7 +203,7 @@
<hr />
<jdoc:include type="modules" name="footer" style="none" />
<p class="pull-right">
<a href="#" id="back-top">
<a href="#top" id="back-top">
<?php echo JText::_('TPL_PROTOSTAR_BACKTOTOP'); ?>
</a>
</p>
Expand Down

0 comments on commit 4d44c25

Please sign in to comment.