Skip to content

Commit

Permalink
Replays: Fix More Replays button on mobile (#2255)
Browse files Browse the repository at this point in the history
  • Loading branch information
Karthik99999 authored Jun 26, 2024
1 parent dd253d2 commit 63d2a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion replay.pokemonshowdown.com/src/replays-battle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ export class BattlePanel extends preact.Component<{id: string}> {
{/* {} <code>{this.keyCode}</code> */}
</p> : <p>&nbsp;</p>}
{!PSRouter.showingLeft() && <p>
<a href="." class="button"><i class="fa fa-caret-left"></i> More replays</a>
<a href={PSRouter.leftLoc || '.'} class="button"><i class="fa fa-caret-left"></i> More replays</a>
</p>}
</div>;
}
Expand Down

0 comments on commit 63d2a1f

Please sign in to comment.