mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-09-30 14:52:36 -05:00
Fix replay redirect (#1519)
This commit is contained in:
@@ -1317,7 +1317,7 @@ function toId() {
|
||||
if (isReplayLink) {
|
||||
if (!target || target === 'search') {
|
||||
target = '.';
|
||||
} else {
|
||||
} else if (target.slice(0, 7) !== "battle-") {
|
||||
target = 'battle-' + target;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user