open new game in same window
This commit is contained in:
parent
8519c1824c
commit
091215b2a4
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ $(document).ready(function () {
|
||||||
.bind("click",()=>{
|
.bind("click",()=>{
|
||||||
var url0 = window.location;
|
var url0 = window.location;
|
||||||
var url = url0.origin + url0.pathname + "?game=" + gameName;
|
var url = url0.origin + url0.pathname + "?game=" + gameName;
|
||||||
window.open(url);
|
window.location = url;
|
||||||
}).appendTo($("#game-list"));
|
}).appendTo($("#game-list"));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue