open new game in same window

This commit is contained in:
mig 2017-04-08 17:26:15 +02:00
parent 8519c1824c
commit 091215b2a4

View file

@ -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"));
} }
}); });