aboutsummaryrefslogtreecommitdiff
path: root/views/script/win_message.js
blob: fd01c222437f3638193efad48c2d76dd0c27e3c7 (plain)
1
2
3
4
5
6
7
8
9
if (location.search === "?sp") {
    if ((location.hash.substr(4) - 1 + 2) == 1) {
        document.write(lang.win.solo.win);
    } else {
        document.write(lang.win.solo.lose);
    }
} else {
    document.write(lang.win.versus.replace("0", (location.hash.substr(4) - 1 + 2)));
}