Skip to content

Commit fa0f746

Browse files
Karthik99999shrianshChari
authored andcommitted
Replays: Fix More Replays button on mobile (smogon#2255)
1 parent af2445a commit fa0f746

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

replay.pokemonshowdown.com/src/replays-battle.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ export class BattlePanel extends preact.Component<{id: string}> {
530530
{/* {} <code>{this.keyCode}</code> */}
531531
</p> : <p>&nbsp;</p>}
532532
{!PSRouter.showingLeft() && <p>
533-
<a href="." class="button"><i class="fa fa-caret-left"></i> More replays</a>
533+
<a href={PSRouter.leftLoc || '.'} class="button"><i class="fa fa-caret-left"></i> More replays</a>
534534
</p>}
535535
</div>;
536536
}

0 commit comments

Comments
 (0)