summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--play.html15
1 files changed, 2 insertions, 13 deletions
diff --git a/play.html b/play.html
index c4b83ac..7261280 100644
--- a/play.html
+++ b/play.html
@@ -688,21 +688,10 @@ svg #lines line.axis_supply.allied_supply {
<div class="menu">
<div class="menu_title"><img src="/images/cog.svg"></div>
<div class="menu_popup">
- <div class="menu_item" onclick="window.open('info/rules.html', '_blank')">Rules</div>
- <div class="menu_item" onclick="window.open('info/units.html', '_blank')">Units</div>
+ <a class="menu_item" href="info/rules.html" target="_blank">Rules</a>
+ <a class="menu_item" href="info/units.html" target="_blank">Units</a>
<div class="resign menu_separator"></div>
<div class="resign menu_item" onclick="confirm_resign()">Resign</div>
- <div class="debug menu_separator"></div>
- <div class="debug menu_item" onclick="send_save()">&#x1F41E; Save</div>
- <div class="debug menu_item" onclick="send_restore()">&#x1F41E; Restore</div>
- <div class="debug menu_item" onclick="send_restart('1940')">&#x26a0; Restart 1940</div>
- <div class="debug menu_item" onclick="send_restart('1941')">&#x26a0; Restart 1941</div>
- <div class="debug menu_item" onclick="send_restart('1942')">&#x26a0; Restart 1942</div>
- <div class="debug menu_item" onclick="send_restart('Crusader')">&#x26a0; Restart Crusader</div>
- <div class="debug menu_item" onclick="send_restart('Battleaxe')">&#x26a0; Restart Battleaxe</div>
- <div class="debug menu_item" onclick="send_restart('Gazala')">&#x26a0; Restart Gazala</div>
- <div class="debug menu_item" onclick="send_restart('Pursuit to Alamein')">&#x26a0; Restart Alamein</div>
- <div class="debug menu_item" onclick="send_restart('1941-42')">&#x26a0; Restart 1941-42</div>
</div>
</div>
<div class="icon_button" onclick="toggle_supply()"><img src="/images/oil-drum.svg"></div>