Skip to content

Commit

Permalink
Fixed broken navigation arrows if run from a subfolder.
Browse files Browse the repository at this point in the history
  • Loading branch information
ragtag committed Apr 26, 2023
1 parent 9aeb9c1 commit f916dea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pbp.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,11 @@

<div id="navcontainer">
<a href="<?= $pbp->get_prev() ?>" class="navbtn" id="prevbtn">
<img class="navarrow" src="<? $pbp->get_root() ?>/pbp/images/prev.svg" alt="Next" />
<img class="navarrow" src="<?= $pbp->get_root() ?>/pbp/images/prev.svg" alt="Next" />
</a>
<a href="#" class="navbtn" id="menubtn"></a>
<a href="<?= $pbp->get_next() ?>" class="navbtn" id="nextbtn">
<img class="navarrow" src="<? $pbp->get_root() ?>/pbp/images/next.svg" alt="Next" />
<img class="navarrow" src="<?= $pbp->get_root() ?>/pbp/images/next.svg" alt="Next" />
</a>
</div>

Expand Down

0 comments on commit f916dea

Please sign in to comment.