Skip to content

Commit

Permalink
Update game.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Memelite70 authored Jun 17, 2024
1 parent 79708dc commit 58a0f59
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions game.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
crossorigin="anonymous"></script>
</head>
<body onload="load()">
<

<!-- Button to trigger iframe loading -->
<center><div id="topnav"><button class="button" id="loadIframeBtn">Load Game</button><p>&nbsp;</p>
<center>
<button class="button" onclick='create()'>Open Cloaked</button><button class="button" onclick="openFullscreen();">Full Screen</button></div><script>

function openFullscreen() {
Expand Down Expand Up @@ -101,6 +101,7 @@
}
</style>
<button id="redirect" onclick="goToHomePage()"><h1>GO BACK</h1></button>
<div id="reloadGame"><center><button class="button" onclick="load()">Reload Game</button></center></div>
<script>
function goToHomePage() {
window.location.href = '//' + window.location.hostname + "/games.html";
Expand Down

0 comments on commit 58a0f59

Please sign in to comment.