Update GameOver.html
This commit is contained in:
parent
6105b5c663
commit
1c2f288575
@ -189,10 +189,10 @@
|
|||||||
Do you want to play another round?
|
Do you want to play another round?
|
||||||
</h3>
|
</h3>
|
||||||
<br>
|
<br>
|
||||||
<button onclick="window.location.href = '/gameplay2';" class="cirButton">Yes, I want another round</button>
|
<button onclick="window.location.href = '/gameplay2';" class="cirButton">Yes</button>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<button id="hideButton" class="cirButton">No</button>
|
<button id="hideButton" class="cirButton" onclick="window.close()">No</button>
|
||||||
<script>
|
<script>
|
||||||
// document.getElementById("hideButton").addEventListener("click", function () {
|
// document.getElementById("hideButton").addEventListener("click", function () {
|
||||||
// var buttons = document.getElementsByTagName("button");
|
// var buttons = document.getElementsByTagName("button");
|
||||||
@ -203,7 +203,7 @@
|
|||||||
|
|
||||||
document.getElementById("hideButton").addEventListener("click", function () {
|
document.getElementById("hideButton").addEventListener("click", function () {
|
||||||
var newWindow = window.open("", "_self");
|
var newWindow = window.open("", "_self");
|
||||||
newWindow.close();
|
newWindow.close();
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user