Fix replay redirect (#1519)

This commit is contained in:
PartMan
2020-05-17 07:14:50 +05:30
committed by GitHub
parent 0b4bfcd065
commit 1a272181fc

View File

@@ -1317,7 +1317,7 @@ function toId() {
if (isReplayLink) {
if (!target || target === 'search') {
target = '.';
} else {
} else if (target.slice(0, 7) !== "battle-") {
target = 'battle-' + target;
}
}