Add ?byturn for loading turn order first

This commit is contained in:
Jaculabilis 2018-05-28 23:33:46 -07:00
parent d560c9b141
commit 152a6dfd31
1 changed files with 4 additions and 0 deletions

View File

@ -13,5 +13,9 @@ contentsToggle = function() {
b.innerText = "Switch to turn order" b.innerText = "Switch to turn order"
} }
} }
window.onload = function(){
if (location.search.search("byturn") > 0)
contentsToggle();
}
</script> </script>
<button id="toggle-button" onClick="javascript:contentsToggle()">Switch to turn order</button> <button id="toggle-button" onClick="javascript:contentsToggle()">Switch to turn order</button>